diff options
Diffstat (limited to 'bash/dot-config/shellshort')
| -rw-r--r-- | bash/dot-config/shellshort/bm-dirs | 2 | ||||
| -rw-r--r-- | bash/dot-config/shellshort/shortcutenvrc | 5 | ||||
| -rw-r--r-- | bash/dot-config/shellshort/shortcutrc | 4 | ||||
| -rw-r--r-- | bash/dot-config/shellshort/zshnameddirs | 4 |
4 files changed, 14 insertions, 1 deletions
diff --git a/bash/dot-config/shellshort/bm-dirs b/bash/dot-config/shellshort/bm-dirs index e69de29..4ecd6c0 100644 --- a/bash/dot-config/shellshort/bm-dirs +++ b/bash/dot-config/shellshort/bm-dirs @@ -0,0 +1,2 @@ +mit $HOME/mit/18.650-spring-26/ +linatt $HOME/mit/linear-attention/ diff --git a/bash/dot-config/shellshort/shortcutenvrc b/bash/dot-config/shellshort/shortcutenvrc new file mode 100644 index 0000000..8f0b3fb --- /dev/null +++ b/bash/dot-config/shellshort/shortcutenvrc @@ -0,0 +1,5 @@ +# vim: filetype=sh +[ -n "mit" ] && export mit="/home/moreka/mit/18.650-spring-26/" +[ -n "linatt" ] && export linatt="/home/moreka/mit/linear-attention/" +[ -n "cala" ] && export cala="/home/moreka/.config/alacritty/alacritty.toml" +[ -n "cnir" ] && export cnir="/home/moreka/.config/niri/config.kdl" diff --git a/bash/dot-config/shellshort/shortcutrc b/bash/dot-config/shellshort/shortcutrc index e701151..e8571c1 100644 --- a/bash/dot-config/shellshort/shortcutrc +++ b/bash/dot-config/shellshort/shortcutrc @@ -1,3 +1,5 @@ # vim: filetype=sh -alias cala="$EDITOR /home/moreka/.config/alacritty/alacritty.toml" \ +alias mit="cd /home/moreka/mit/18.650-spring-26/ && ls -A" \ +linatt="cd /home/moreka/mit/linear-attention/ && ls -A" \ +cala="$EDITOR /home/moreka/.config/alacritty/alacritty.toml" \ cnir="$EDITOR /home/moreka/.config/niri/config.kdl" \ diff --git a/bash/dot-config/shellshort/zshnameddirs b/bash/dot-config/shellshort/zshnameddirs new file mode 100644 index 0000000..d7453ec --- /dev/null +++ b/bash/dot-config/shellshort/zshnameddirs @@ -0,0 +1,4 @@ +hash -d mit=/home/moreka/mit/18.650-spring-26/ +hash -d linatt=/home/moreka/mit/linear-attention/ +hash -d cala=/home/moreka/.config/alacritty/alacritty.toml +hash -d cnir=/home/moreka/.config/niri/config.kdl |
