Skip to content

Commit

Permalink
fish: As of now, on debian bat is named batcat
Browse files Browse the repository at this point in the history
  • Loading branch information
gwarf committed Nov 11, 2024
1 parent 4128c0a commit 786353b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions home/private_dot_config/private_fish/config.fish.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ if status is-interactive
# Aliases
alias df="duf"
alias du="dust"
if test (uname) = Linux
if test -e /etc/debian_version
if test ! -e ~/bin/bat
ln -s /usr/bin/batcat ~/bin/bat
end
end
end
alias cat="bat --paging=never"
alias ls="lsd --group-directories-first"
alias lsa="lsd --group-directories-first --almost-all"
Expand Down Expand Up @@ -166,13 +173,7 @@ if status is-interactive
end
zoxide init --cmd cd fish | source
direnv hook fish | source
{{ if eq .chezmoi.os "darwin" -}}
# XXX: fzf--fish is only valid with fzf >= 0.48.0
fzf --fish | source
{{ else if eq .chezmoi.os "freebsd" -}}
fzf --fish | source
{{ else -}}
source /usr/local/share/examples/fzf/shell/key-bindings.fish
{{ end -}}
end
# vim: ft=fish

0 comments on commit 786353b

Please sign in to comment.