|
@ -7,7 +7,6 @@ fi |
|
|
|
|
|
|
|
|
# system |
|
|
# system |
|
|
alias l='ls -a' |
|
|
alias l='ls -a' |
|
|
c() { cd "$@" && ls -a ; } |
|
|
|
|
|
alias ll='ls -alF' |
|
|
alias ll='ls -alF' |
|
|
alias cs='printf "\033c"' |
|
|
alias cs='printf "\033c"' |
|
|
shopt -s dotglob |
|
|
shopt -s dotglob |
|
@ -16,7 +15,9 @@ alias sd="sudo shutdown 0" |
|
|
alias s="systemctl suspend" |
|
|
alias s="systemctl suspend" |
|
|
|
|
|
|
|
|
# directories |
|
|
# directories |
|
|
alias cdr="c ~/../../" |
|
|
|
|
|
|
|
|
c() { cd "$@" && ls -a ; } |
|
|
|
|
|
cd-up() { c $(printf "%0.s../" $(seq 1 $1 )) ; } |
|
|
|
|
|
alias "c."="cd-up" |
|
|
alias cdd="c ~/Downloads" |
|
|
alias cdd="c ~/Downloads" |
|
|
if $in_lab; then |
|
|
if $in_lab; then |
|
|
alias mt="okular ~/Downloads/Textbook.pdf" |
|
|
alias mt="okular ~/Downloads/Textbook.pdf" |
|
@ -67,7 +68,7 @@ alias gl="git log" |
|
|
alias gsl="git shortlog" |
|
|
alias gsl="git shortlog" |
|
|
alias gst="git stash" |
|
|
alias gst="git stash" |
|
|
alias gstp="git stash pop" |
|
|
alias gstp="git stash pop" |
|
|
alias gstc="git stash clear" |
|
|
|
|
|
|
|
|
alias gclear="git stash clear" |
|
|
|
|
|
|
|
|
# idea |
|
|
# idea |
|
|
alias jh="echo $JAVA_HOME" |
|
|
alias jh="echo $JAVA_HOME" |
|
|