forked from Shinonome/dots-hyprland
fish: move setups to interactive shell
This commit is contained in:
+14
-17
@@ -6,24 +6,21 @@ function fish_prompt -d "Write out the prompt"
|
|||||||
(set_color $fish_color_cwd) (prompt_pwd) (set_color normal)
|
(set_color $fish_color_cwd) (prompt_pwd) (set_color normal)
|
||||||
end
|
end
|
||||||
|
|
||||||
if status is-interactive
|
if status is-interactive # Commands to run in interactive sessions can go here
|
||||||
# Commands to run in interactive sessions can go here
|
|
||||||
|
# No greeting
|
||||||
set fish_greeting
|
set fish_greeting
|
||||||
|
|
||||||
end
|
# Use starship
|
||||||
|
starship init fish | source
|
||||||
|
if test -f ~/.local/state/quickshell/user/generated/terminal/sequences.txt
|
||||||
|
cat ~/.local/state/quickshell/user/generated/terminal/sequences.txt
|
||||||
|
end
|
||||||
|
|
||||||
starship init fish | source
|
# Aliases
|
||||||
if test -f ~/.local/state/quickshell/user/generated/terminal/sequences.txt
|
alias pamcan pacman
|
||||||
cat ~/.local/state/quickshell/user/generated/terminal/sequences.txt
|
alias ls 'eza --icons'
|
||||||
end
|
alias clear "printf '\033[2J\033[3J\033[1;1H'"
|
||||||
|
alias q 'qs -c ii'
|
||||||
alias pamcan pacman
|
|
||||||
alias ls 'eza --icons'
|
|
||||||
alias clear "printf '\033[2J\033[3J\033[1;1H'"
|
|
||||||
alias q 'qs -c ii'
|
|
||||||
|
|
||||||
|
end
|
||||||
# function fish_prompt
|
|
||||||
# set_color cyan; echo (pwd)
|
|
||||||
# set_color green; echo '> '
|
|
||||||
# end
|
|
||||||
|
|||||||
Reference in New Issue
Block a user