minor changes
This commit is contained in:
parent
9170f7d003
commit
34e598d948
1 changed files with 0 additions and 28 deletions
28
config.fish
28
config.fish
|
@ -97,32 +97,22 @@ if command -v lsd >/dev/null 2>&1
|
|||
alias ls='lsd -l'
|
||||
alias ll='lsd -lA'
|
||||
alias tree='lsd --tree'
|
||||
set -a toolbox " ls is using $(which lsd)
|
||||
"
|
||||
else
|
||||
# ─< exa >──────────────────────────────────────────────────────────────────────────────────
|
||||
if command -v exa >/dev/null 2>&1
|
||||
alias ls='exa --icons -l'
|
||||
alias ll='exa --icons -laa'
|
||||
alias tree='exa --icons -l -tree'
|
||||
set -a toolbox " ls is using $(which exa)
|
||||
"
|
||||
else
|
||||
# ─< eza >──────────────────────────────────────────────────────────────────────────────────
|
||||
if command -v eza >/dev/null 2>&1
|
||||
alias ls='eza --icons -l'
|
||||
alias ll='eza --icons -laa'
|
||||
alias tree='eza --icons -l -tree'
|
||||
set -a toolbox " ls is using $(which eza)
|
||||
"
|
||||
else
|
||||
# ─< if nothing works -- plain old ls >─────────────────────────────────────────────────────
|
||||
alias ls='ls --color=always -lph'
|
||||
alias ll='ls --color=always -lAph'
|
||||
set -a toolbox " using plain old ls, but with colors!!
|
||||
"
|
||||
set -a warnings " no ls helper is installed [lsd, eza, exa..]
|
||||
"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -142,19 +132,11 @@ end
|
|||
# ─< bat alias >────────────────────────────────────────────────────────────────────────────
|
||||
if command -v batcat >/dev/null 2>&1
|
||||
alias cat='batcat --color=always -p --paging=never'
|
||||
set -a toolbox " cat is using $(which batcat)
|
||||
"
|
||||
else
|
||||
|
||||
# ─< batcat alias >─────────────────────────────────────────────────────────────────────────
|
||||
if command -v bat >/dev/null 2>&1
|
||||
alias cat='bat --color=always -p'
|
||||
set -a toolbox " cat is using $(which bat)
|
||||
"
|
||||
else
|
||||
set -a warnings " bat
|
||||
"
|
||||
end
|
||||
end
|
||||
|
||||
# ─< t stands for tmux >────────────────────────────────────────────────────────────────────
|
||||
|
@ -162,11 +144,6 @@ if command -v tmux >/dev/null 2>&1
|
|||
alias ts="tmux source $HOME/.tmux.conf"
|
||||
alias ta="tmux a"
|
||||
alias t="tmux"
|
||||
set -a toolbox " t is using $(which tmux)
|
||||
"
|
||||
else
|
||||
set -a warnings " tmux
|
||||
"
|
||||
end
|
||||
|
||||
# ─< d stands for docker >──────────────────────────────────────────────────────────────────
|
||||
|
@ -179,11 +156,6 @@ if command -v docker >/dev/null 2>&1
|
|||
alias ds='docker ps -a'
|
||||
alias dc='docker compose'
|
||||
alias appudpate='docker pull && docker compose up -d --force-recreate'
|
||||
set -a toolbox " d is using $(which docker) [docker]
|
||||
"
|
||||
else
|
||||
set -a warnings " docker
|
||||
"
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue