📝 Many updates

This commit is contained in:
z3rOR0ne 2022-12-08 13:24:52 -08:00
parent 2809ea08cf
commit c10b15767a
7 changed files with 76 additions and 18 deletions

View file

@ -2,7 +2,10 @@
# A simple bookmarking alias used in conjunction with sdir and our $HOME/.aliases file to bookmark our current directory to be returned to later using rdir.
# grabs the current $sdir environment variable
source $HOME/.zshrc
# grabs the rc file of preferred shell (only works with bash and zsh currently)
shellrc=.$(echo "$SHELL" | awk -F '/' '{ print $NF }')rc
cd $sdir && ls
# grabs the current $sdir environment variable
source "$HOME"/"$shellrc"
cd "$sdir" && ls