mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
Ready
This commit is contained in:
parent
f745eb4736
commit
8cc9fc6c77
1 changed files with 10 additions and 11 deletions
|
|
@ -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...
|
||||||
*)
|
*)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue