Update aliases
This commit is contained in:
parent
e3034742df
commit
c52f884aa9
@ -52,9 +52,8 @@ alias rsync-win='rsync --recursive --verbose --times --modify-window=1 '
|
|||||||
alias can-upgrade='sudo apt-get update && sudo apt-get upgrade -y '
|
alias can-upgrade='sudo apt-get update && sudo apt-get upgrade -y '
|
||||||
alias can-find='aptitude search '
|
alias can-find='aptitude search '
|
||||||
alias can-haz='sudo apt-get install '
|
alias can-haz='sudo apt-get install '
|
||||||
alias curl-headers='curl -s -v -I '
|
alias take='sudo chown $(whoami):$(whoami) '
|
||||||
alias take='sudo chown `whoami`:`whoami` '
|
alias simple-http-server='python3 -m http.server'
|
||||||
alias simple-http-server='python -m SimpleHTTPServer'
|
|
||||||
alias numfiles='find . -maxdepth 1 -type f | wc -l'
|
alias numfiles='find . -maxdepth 1 -type f | wc -l'
|
||||||
alias deepgrep='find . -type f -not -name "*.swp" -not -name "*.pyc" | sed "s/$/\"/g" | sed "s/^/\"/g" | xargs grep --color '
|
alias deepgrep='find . -type f -not -name "*.swp" -not -name "*.pyc" | sed "s/$/\"/g" | sed "s/^/\"/g" | xargs grep --color '
|
||||||
|
|
||||||
|
|||||||
@ -22,7 +22,6 @@ PS1="$PS1\[$bblack\]"'$(parse_git_branch)'
|
|||||||
PS1="$PS1\[$yellow\]"'$(parse_git_status) '
|
PS1="$PS1\[$yellow\]"'$(parse_git_status) '
|
||||||
# display date
|
# display date
|
||||||
PS1="$PS1\[$purple\]\D{%F %I:%M%P} "
|
PS1="$PS1\[$purple\]\D{%F %I:%M%P} "
|
||||||
# display date
|
|
||||||
PS1="$PS1\[$color_off\]\nλ "
|
PS1="$PS1\[$color_off\]\nλ "
|
||||||
|
|
||||||
function parse_git_status {
|
function parse_git_status {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user