From 8d416aa3cc6a562cb4d676eafb92d52b1ef3d334 Mon Sep 17 00:00:00 2001 From: Mohammad Reza Karimi Date: Tue, 10 Feb 2026 09:56:03 -0500 Subject: updates --- bash/dot-config/shellshort/bm-dirs | 2 ++ bash/dot-config/shellshort/shortcutenvrc | 5 +++++ bash/dot-config/shellshort/shortcutrc | 4 +++- bash/dot-config/shellshort/zshnameddirs | 4 ++++ 4 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 bash/dot-config/shellshort/shortcutenvrc create mode 100644 bash/dot-config/shellshort/zshnameddirs (limited to 'bash/dot-config/shellshort') 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 -- cgit v1.2.3-71-gdd5e