zsh: realized some things need to be functions

By that, I mean things that change my working directory need to be
functions
This commit is contained in:
PowerUser64 2022-01-01 18:24:20 -08:00
parent cba8e92e1d
commit 06ab216290
11 changed files with 93 additions and 94 deletions

View file

@ -2,7 +2,7 @@
# Simple extraction script. Taken from manjaro's .bashrc
if [ -f $1 ] ; then
if [ -f "$1" ] ; then
case $1 in
*.tar.bz2) tar xjf "$1" ;;
*.tar.gz) tar xzf "$1" ;;