From c52f884aa91c5f13795371a605102e8cabf3f2cb Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Mon, 21 Jan 2019 20:36:49 -0800 Subject: [PATCH] Update aliases --- bash/aliases | 5 ++--- bash/prompt | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/bash/aliases b/bash/aliases index 45e4d8c..6ad80ab 100644 --- a/bash/aliases +++ b/bash/aliases @@ -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-find='aptitude search ' alias can-haz='sudo apt-get install ' -alias curl-headers='curl -s -v -I ' -alias take='sudo chown `whoami`:`whoami` ' -alias simple-http-server='python -m SimpleHTTPServer' +alias take='sudo chown $(whoami):$(whoami) ' +alias simple-http-server='python3 -m http.server' 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 ' diff --git a/bash/prompt b/bash/prompt index f266402..22d25a8 100644 --- a/bash/prompt +++ b/bash/prompt @@ -22,7 +22,6 @@ PS1="$PS1\[$bblack\]"'$(parse_git_branch)' PS1="$PS1\[$yellow\]"'$(parse_git_status) ' # display date PS1="$PS1\[$purple\]\D{%F %I:%M%P} " -# display date PS1="$PS1\[$color_off\]\nλ " function parse_git_status {