This commit is contained in:
2014-07-29 02:11:38 +02:00
parent 2a806ad7ae
commit fd7e96e5f9
4 changed files with 23 additions and 4 deletions

View File

@@ -112,12 +112,28 @@ alias wow="git status"
alias v="vim"
alias g="grep"
# rebase the current branch onto WTF ARE YOU DOING YOU ARE DRUNNK TO GO BED
##alias rebase="git rebase -i $(git branch --contains HEAD | grep -v '\*.*' | head -1)"
### FUNCTIONS
slideshow() {
delay=$1
[[ -z "$delay" ]] && { echo "wrong usage" ; return 1 ; }
shift
[[ -z "$@" ]] && { echo "wrong usage" ; return 1 ; }
feh --auto-zoom \
--randomize \
--recursive \
--scale-down \
--image-bg black \
--draw-filename \
--slideshow-delay=$delay \
"$@"
}
function cd() {
builtin cd $* && ls
}