Compare commits
No commits in common. "24dfe678071f359b49852432494ec313c12fefef" and "1dbb53f3ee027df3b66aa2360cde4b3d72d2e928" have entirely different histories.
24dfe67807
...
1dbb53f3ee
3 changed files with 4 additions and 4 deletions
|
@ -13,7 +13,7 @@ ssh-serve-files
|
|||
usage: ssh-serve-files [user@]hostname [-p port] [-d dir]
|
||||
|
||||
optional flags:
|
||||
-h, --help show this help text
|
||||
-h, --help show this help text
|
||||
-p, --port port to tunnel and start http server at
|
||||
-d, --dir directory of files to serve [default: ~/]
|
||||
EOF
|
||||
|
|
|
@ -22,9 +22,10 @@ function source-zshcmdd {
|
|||
# sort and source conf files
|
||||
for rcfile in ${(o)conf_files}; do
|
||||
# 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
|
||||
if (( $+commands[${rcfile:t:r}] )); then
|
||||
if (( ! $+commands[{rcfile:t:r}] )); then
|
||||
source "$rcfile"
|
||||
else
|
||||
# if it doesn't exist try the anti version
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
alias lt="tree -L 3"
|
Loading…
Reference in a new issue