add config for kitty + update fish shell config
This commit is contained in:
parent
9f275c64c4
commit
8fe5a249b0
5 changed files with 190 additions and 4 deletions
|
@ -2,13 +2,27 @@ if status is-interactive
|
|||
# Commands to run in interactive sessions can go here
|
||||
end
|
||||
|
||||
# zellij init for alacritty
|
||||
if string match -q -- alacritty $TERM
|
||||
set -gx ZELLIJ_AUTO_EXIT true
|
||||
eval (zellij setup --generate-auto-start fish | string collect)
|
||||
end
|
||||
# zellij init for alacritty end
|
||||
|
||||
# starship custom conf
|
||||
set -gx STARSHIP_CONFIG $__fish_config_dir/starship.toml
|
||||
# starship custom conf end
|
||||
starship init fish | source
|
||||
# greeting
|
||||
function fish_greeting
|
||||
cat $__fish_config_dir/motd
|
||||
echo ""
|
||||
if [ $TERM = xterm-kitty ]
|
||||
fastfetch -c $__fish_config_dir/fmotd/motd.jsonc
|
||||
else
|
||||
fastfetch -c $__fish_config_dir/fmotd/motd-fallback.jsonc
|
||||
end
|
||||
echo -e "\nWelcome to fish@$TERM, $USER!"
|
||||
#cat $__fish_config_dir/motd
|
||||
end
|
||||
# greeting end
|
||||
# pnpm
|
||||
|
@ -44,6 +58,9 @@ rvm default
|
|||
set PATH $PATH /home/grassblock/.local/bin
|
||||
# pipx end
|
||||
|
||||
# 0x0 start
|
||||
|
||||
#0x0 end
|
||||
# >>> mamba initialize >>>
|
||||
# !! Contents within this block are managed by 'mamba init' !!
|
||||
set -gx MAMBA_EXE "/usr/bin/micromamba"
|
||||
set -gx MAMBA_ROOT_PREFIX "/home/grassblock/.local/share/micromamba"
|
||||
$MAMBA_EXE shell hook --shell fish --root-prefix $MAMBA_ROOT_PREFIX | source
|
||||
# <<< mamba initialize <<<
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue