Moved cd
alias to the aliases file
This commit is contained in:
parent
36a91ae42a
commit
c3c10f3068
2 changed files with 5 additions and 5 deletions
5
aliases
5
aliases
|
@ -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
5
zshrc
|
@ -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}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue