Update fish configurations and add others (Neovim, Ranger, Alacritty)

This commit is contained in:
Fabio Scotto di Santolo
2024-06-05 09:22:06 +02:00
parent 87a9a52283
commit 716fbe0f2e
35 changed files with 381 additions and 5 deletions

6
fish/config.fish Normal file → Executable file
View File

@@ -2,7 +2,7 @@
# Hide welcome message & ensure we are reporting fish as shell
set fish_greeting
set VIRTUAL_ENV_DISABLE_PROMPT "1"
set -xU MANPAGER "sh -c 'col -bx | batcat -l man -p'"
set -xU MANPAGER "sh -c 'col -bx | bat -l man -p'"
set -xU MANROFFOPT "-c"
set -x SHELL /usr/bin/fish
@@ -31,7 +31,7 @@ end
## Starship prompt
if status --is-interactive
source ("/usr/local/bin/starship" init fish --print-full-init | psub)
source ("/usr/bin/starship" init fish --print-full-init | psub)
end
## Advanced command-not-found hook
@@ -111,7 +111,7 @@ alias lt 'eza -aT --color=always --group-directories-first --icons' # tree listi
alias l. 'eza -ald --color=always --group-directories-first --icons .*' # show only dotfiles
# Replace some more things with better alternatives
alias cat 'batcat --style header --style snip --style changes --style header'
alias cat 'bat --style header --style snip --style changes --style header'
# Common use
alias .. 'cd ..'