mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
slight tweaks to prompt/theme, and modified alias file to add a few new directory (ls) command options
This commit is contained in:
parent
c103b091d4
commit
06a077e570
2 changed files with 7 additions and 8 deletions
|
|
@ -9,16 +9,15 @@ alias -- -='cd -'
|
|||
# Super user
|
||||
alias _='sudo'
|
||||
|
||||
#alias g='grep -in'
|
||||
|
||||
# Show history
|
||||
alias history='fc -l 1'
|
||||
|
||||
# List direcory contents
|
||||
alias lsa='ls -lah'
|
||||
alias l='ls -la'
|
||||
alias lla='ls -lah'
|
||||
alias la='ls -la'
|
||||
alias ll='ls -l'
|
||||
alias sl=ls # often screw this up
|
||||
alias llh='ls -hl'
|
||||
alias lt='ls -lrthF'
|
||||
#alias sl=ls # often screw this up
|
||||
|
||||
alias afind='ack-grep -il'
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
PROMPT='(%{$fg_bold[magenta]%}%n%{$reset_color%}@%{$fg_bold[blue]%}%m%{$reset_color%}) - (%{$fg_bold[blue]%}%T%{$reset_color%}) - (%{$fg[green]%}%~%{$reset_color%}%)
|
||||
$(git_prompt_info)%{$reset_color%}$fg_bold[green]%}➜ %{$reset_color%}'
|
||||
PROMPT='(%{$fg_bold[magenta]%}%n%{$reset_color%}@%{$fg_bold[blue]%}%m%{$reset_color%}) - (%{$fg_bold[blue]%}%T%{$reset_color%}) - (%{$fg_bold[blue]%}%~%{$reset_color%}%)
|
||||
$(git_prompt_info)%{$reset_color%}$fg_bold[green]%}➜ %{$reset_color%}%{$fg_bold[green]%'
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:%{$reset_color%}(%{$fg_bold[yellow]%}"
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue