Lints aliases.sh
This commit is contained in:
parent
6711edb5e8
commit
c3c256f3c1
1 changed files with 6 additions and 6 deletions
12
aliases.sh
12
aliases.sh
|
@ -4,17 +4,17 @@ alias dir='find . -maxdepth 1 -type d -regex "\.\/[^.].+"'
|
||||||
|
|
||||||
# aliases with dependencies
|
# aliases with dependencies
|
||||||
command -v nvim >/dev/null && alias vim=nvim || \
|
command -v nvim >/dev/null && alias vim=nvim || \
|
||||||
echo "Missing dependency (nvim). Failed to alias vim -> nvim"
|
echo 'Missing dependency (nvim). Failed to alias vim -> nvim'
|
||||||
command -v find >/dev/null && alias find='find -E' || \
|
command -v find >/dev/null && alias find='find -E' || \
|
||||||
echo "Missing dependency (find -E). Failed to alias find -> find -E"
|
echo 'Missing dependency (find -E). Failed to alias find -> find -E'
|
||||||
command -v egrep >/dev/null && alias grep=egrep || \
|
command -v egrep >/dev/null && alias grep=egrep || \
|
||||||
echo "Missing dependency (egrep). Failed to alias grep -> egrep"
|
echo 'Missing dependency (egrep). Failed to alias grep -> egrep'
|
||||||
command -v pygmentize >/dev/null && alias ccat='pygmentize -g' >/dev/null || \
|
command -v pygmentize >/dev/null && alias ccat='pygmentize -g' >/dev/null || \
|
||||||
echo "Missing dependency (pygmentize -g). Failed to alias ccat -> pygmentize -g"
|
echo 'Missing dependency (pygmentize -g). Failed to alias ccat -> pygmentize -g'
|
||||||
command -v hub >/dev/null && alias git=hub || \
|
command -v hub >/dev/null && alias git=hub || \
|
||||||
echo "Missing dependency (hub). Failed to alias git -> hub"
|
echo 'Missing dependency (hub). Failed to alias git -> hub'
|
||||||
command -v tmux >/dev/null && alias tls='tmux list-sessions' || \
|
command -v tmux >/dev/null && alias tls='tmux list-sessions' || \
|
||||||
echo "Missing dependency (tmux). Failed to alias tls -> tmux list-sessions"
|
echo 'Missing dependency (tmux). Failed to alias tls -> tmux list-sessions'
|
||||||
|
|
||||||
|
|
||||||
# exa-specific aliases
|
# exa-specific aliases
|
||||||
|
|
Loading…
Reference in a new issue