This commit is contained in:
Bryan Ramos 2023-05-23 15:46:18 -04:00
parent f745eb4736
commit 8cc9fc6c77

View file

@ -1,5 +1,5 @@
## ##
## My Bash Configs # My Bash Configs
## ##
# Set EDITOR to nvim # Set EDITOR to nvim
@ -42,6 +42,11 @@ fi
# Alias List # Alias List
alias ls='lsd' alias ls='lsd'
##
# Custom Functions
##
# penpot {run|stop|update|help} alias function # penpot {run|stop|update|help} alias function
penpot() { penpot() {
case "$1" in case "$1" in
@ -71,7 +76,7 @@ penpot() {
esac esac
} }
# Developer Environment Functions # Developer Environment Function
function dev() { function dev() {
echo "Select an environment:" echo "Select an environment:"
echo "1. Web" echo "1. Web"
@ -83,19 +88,13 @@ function dev() {
case $choice in case $choice in
1) 1)
pushd ~/Documents/developerEnvs/webDev > /dev/null (cd ~/Documents/developerEnvs/webDev && nix develop)
nix develop
popd > /dev/null
;; ;;
2) 2)
pushd ~/Documents/developerEnvs/elixirDev > /dev/null (cd ~/Documents/developerEnvs/elixirDev && nix develop)
nix develop
popd > /dev/null
;; ;;
3) 3)
pushd ~/Documents/developerEnvs/haskellDev > /dev/null (cd ~/Documents/developerEnvs/haskellDev && nix develop)
nix develop
popd > /dev/null
;; ;;
# Add more cases here... # Add more cases here...
*) *)