This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/dotfiles/fish/config.fish

43 lines
1.1 KiB
Fish

# {{@@ header() @@}}
# __ _ _
# / _(_)___| |__
# | |_| / __| '_ \
# | _| \__ \ | | |
# |_| |_|___/_| |_|
set -U fish_features stderr-nocaret qmark-noglob regex-easyesc
if status is-interactive
source {$__fish_config_dir}/env.fish
source {$__fish_config_dir}/wm.fish
source {$__fish_config_dir}/alias.fish
source {$__fish_config_dir}/keys.fish
source {$__fish_config_dir}/tmux.fish
source {$__fish_config_dir}/colors.fish
if not functions -q fundle
eval (curl -sfL https://git.io/fundle-install)
end
fundle plugin 'FabioAntunes/fish-nvm'
fundle plugin 'edc/bass'
fundle init
{%@@ if starship @@%}
starship init fish | source
# Set cursor shape
printf '\e[5 q' # Bar
{%@@ else @@%}
source {$__fish_config_dir}/prompt.fish
{%@@ endif @@%}
end
function _fish_autoreload --on-signal SIGHUP
source {$__fish_config_dir}/config.fish
if test "$TERM" = "xterm-kitty"
kitty @ set-colors -a ~/.config/kitty/kitty.conf
kitty @ set-background-opacity "{{@@ opacity @@}}"
end
end