diff --git a/dotfiles/system/etc/zsh/zshrc b/dotfiles/system/etc/zsh/zshrc index 548a5cd..55da48e 100644 --- a/dotfiles/system/etc/zsh/zshrc +++ b/dotfiles/system/etc/zsh/zshrc @@ -18,9 +18,8 @@ alias gitc="git commit" alias gitp="git push" alias gitl="git log" alias gitd="git diff --word-diff" -alias http-dir="echo "Serving $CWD on 0.0.0.0:55555"; /usr/sbin/thttpd -D -d . -p 55555 -l -" -alias Y="youtube-dl --no-check-certificate" -alias Yall="youtube-dl -o \"%(autonumber)s-%(title)s.%(ext)s\"" +alias Y="noglob youtube-dl --no-check-certificate" +alias Yall="noglob youtube-dl -o \"%(autonumber)s-%(title)s.%(ext)s\"" alias units="units -v" # Edit the current command line in $EDITOR @@ -100,6 +99,11 @@ cds() { cd /mnt/storage/$USER/$1 } +http-dir() { + echo "Serving $PWD on 0.0.0.0:55555" + /usr/sbin/thttpd -D -d . -p 55555 -l - +} + HISTFILE=~/.history # soubor pro ukládání do historie SAVEHIST=5000 # ukládá se 5000 příkazů