These paths can't be hardcoded.

This commit is contained in:
Bartek Stalewski 2021-04-18 11:14:27 +02:00
parent c1aa515d8d
commit 4dc2b58f6a

View file

@ -1,7 +1,7 @@
alias grep='grep --color' alias grep='grep --color'
alias less='less -r' alias less='less -r'
if [ $(command -v bat) ]; then if [ $(command -v bat) ]; then
alias cat='/usr/local/bin/bat --color=always --tabs=2 --style plain --theme=Monokai\ Extended\ Bright' alias cat='bat --color=always --tabs=2 --style plain --theme=Monokai\ Extended\ Bright'
fi fi
if [ $(command -v exa) ]; then if [ $(command -v exa) ]; then
alias ls='exa --group-directories-first' alias ls='exa --group-directories-first'
@ -14,7 +14,7 @@ else
alias ll='ls -l' alias ll='ls -l'
fi fi
if [ $(command -v fd) ]; then if [ $(command -v fd) ]; then
alias fd='/usr/local/bin/fd -H -L --ignore-file ~/.config/local/fd' alias fd='fd -H -L --ignore-file ~/.config/local/fd'
fi fi
if [ $(command -v nvim) ]; then if [ $(command -v nvim) ]; then
export EDITOR='nvim' export EDITOR='nvim'