Browse Source

Config: Add hyperlinks to ls output

master
Riyyi 3 years ago
parent
commit
e5bee42ee4
  1. 6
      .config/zsh/.zshrc

6
.config/zsh/.zshrc

@ -116,10 +116,10 @@ alias fuck='sudo $(fc -ln -1)'
alias grep="grep --color=always" alias grep="grep --color=always"
alias ip="ip --color" alias ip="ip --color"
alias ipb="ip --color --brief a" alias ipb="ip --color --brief a"
alias l.="\ls -lAGh --color --group-directories-first | awk '{ if (\$NF ~ /^(.*m)?\./) print }'" alias l.="\ls -lAGh --color --group-directories-first --hyperlink | awk '{ if (\$NF ~ /^(.*m)?\./) print }'"
alias la="\ls -lAGh --color --group-directories-first" alias la="\ls -lAGh --color --group-directories-first --hyperlink"
alias less="less -x 4" alias less="less -x 4"
alias ls="ls --color --group-directories-first" alias ls="ls --color --group-directories-first --hyperlink"
alias mkdir="mkdir -pv" alias mkdir="mkdir -pv"
alias mv='mv -i' alias mv='mv -i'
alias pkill="pkill -9" alias pkill="pkill -9"

Loading…
Cancel
Save