Compare commits

...

2 commits

Author SHA1 Message Date
24dfe67807 fix zexists sourcing 2023-02-22 15:25:19 -06:00
4bc6501144 help formatting 2023-02-22 15:25:10 -06:00
3 changed files with 4 additions and 4 deletions

View file

@ -22,10 +22,9 @@ function source-zshcmdd {
# sort and source conf files # sort and source conf files
for rcfile in ${(o)conf_files}; do for rcfile in ${(o)conf_files}; do
# ignore files that begin with a tilde and antircfiles # ignore files that begin with a tilde and antircfiles
case ${rcfile:t} in 'anti'*|'~'*) continue;; esac case ${rcfile:t} in 'anti'* | '~'*) continue;; esac
# source files only if exe with that name exists # source files only if exe with that name exists
if (( ! $+commands[{rcfile:t:r}] )); then if (( $+commands[${rcfile:t:r}] )); then
source "$rcfile" source "$rcfile"
else else
# if it doesn't exist try the anti version # if it doesn't exist try the anti version

View file

@ -0,0 +1 @@
alias lt="tree -L 3"