mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 18:02:13 +02:00
27 lines
580 B
Fish
27 lines
580 B
Fish
if status is-interactive
|
|
# Enable vi-mode
|
|
fish_vi_key_bindings
|
|
|
|
# Set the keyboard rate
|
|
xset r rate 150 30
|
|
|
|
# Set the editor to use vim
|
|
set --export --global EDITOR nvim
|
|
|
|
# Set the terminal
|
|
set --export --global TERM alacritty
|
|
|
|
# Install OMF if it is not already
|
|
if test ! -d ~/.local/share/omf
|
|
curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install | fish
|
|
else
|
|
omf update
|
|
end
|
|
|
|
# Alias for the cat command
|
|
alias cat="bat --theme OneHalfDark"
|
|
|
|
# Alias for the ls command
|
|
alias ls="exa --icons --long --classify"
|
|
end
|