fix http-dir
This commit is contained in:
parent
934b9cd4cc
commit
9c712824eb
1 changed files with 5 additions and 1 deletions
|
@ -18,7 +18,6 @@ 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 units="units -v"
|
||||
|
@ -91,6 +90,11 @@ cds() {
|
|||
cd /mnt/storage/$USER/$1
|
||||
}
|
||||
|
||||
http-dir() {
|
||||
echo "Serving $CWD 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ů
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue