(zsh) udpdate aliases
This commit is contained in:
parent
c368e16c83
commit
c9b4eeebf6
1 changed files with 4 additions and 2 deletions
|
|
@ -9,12 +9,13 @@ alias grep='grep --color=auto'
|
||||||
|
|
||||||
# -------------- Aliases
|
# -------------- Aliases
|
||||||
alias gs="git status"
|
alias gs="git status"
|
||||||
|
alias gb="git branch"
|
||||||
|
|
||||||
# ll alias breakdown
|
# ll alias breakdown
|
||||||
# -a includes hidden files
|
# -a includes hidden files
|
||||||
# -l displays the listing in long format, showing file attributes such as permissions
|
# -l displays the listing in long format, showing file attributes such as permissions
|
||||||
# -F appends a character to each entry in the listing to indicate the file type (e.g '/' for directories and '*' for executables)
|
# -F appends a character to each entry in the listing to indicate the file type (e.g '/' for directories and '*' for executables)
|
||||||
alias ll="ls -alF"
|
alias ll="lsd -alF"
|
||||||
|
|
||||||
# la alias breakdown
|
# la alias breakdown
|
||||||
# -A list all entries without ./ and ../
|
# -A list all entries without ./ and ../
|
||||||
|
|
@ -221,7 +222,8 @@ ed() {
|
||||||
autoload -U colors && colors
|
autoload -U colors && colors
|
||||||
|
|
||||||
# Set prompt
|
# Set prompt
|
||||||
PS1="%n@%m:%~ $ "
|
setopt PROMPT_SUBST
|
||||||
|
PS1="%n@%m:%~\$(parse-git-branch) $ "
|
||||||
|
|
||||||
unset color_prompt
|
unset color_prompt
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue