Moved cd alias to the aliases file

This commit is contained in:
Josh Sherman 2017-12-24 15:32:26 -06:00
parent 36a91ae42a
commit c3c10f3068
No known key found for this signature in database
GPG key ID: 55B058A80530EF22
2 changed files with 5 additions and 5 deletions

View file

@ -36,3 +36,8 @@ alias gst='git status'
alias GET='http'
alias POST='http POST'
alias HEAD='http HEAD'
# `ls` after `cd`
function cd {
builtin cd "$@" && ls -F
}

5
zshrc
View file

@ -45,11 +45,6 @@ git_branch() {
(command git symbolic-ref -q HEAD || command git name-rev --name-only --no-undefined --always HEAD) 2>/dev/null
}
# `ls` after `cd`
function cd {
builtin cd "$@" && ls -F
}
function username() {
if [[ `whoami` != 'josh' ]]; then
echo "%F{248}%n%F{reset}"