Switch default shell to fish

This commit is contained in:
Severin Kaderli 2025-01-05 17:25:18 +01:00
parent 2c875df3ca
commit 9bbee626d7
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
4 changed files with 41 additions and 3 deletions

View file

@ -10,6 +10,6 @@
# Sets default shell
output::section "Shell"
output::log "Setting default shell to zsh"
sudo chsh -s "/bin/zsh" "${USER}"
output::success "Successfully set default shell to zsh"
output::log "Setting default shell to fish"
sudo chsh -s "/usr/bin/fish" "${USER}"
output::success "Successfully set default shell to fish"

View file

@ -26,6 +26,7 @@ CONFIG_LINKED_FILES_HOME=(
".config/environment.d"
".config/Element"
".config/espanso"
".config/fish"
".config/fontconfig"
".config/git"
".config/gtk-2.0"

View file

@ -0,0 +1,6 @@
# Alias for using lsd as ls replacement
alias ls="lsd"
alias la="lsd -al"
alias lt="lsd --tree"
starship init fish | source

View file

@ -0,0 +1,31 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR __fish_initialized:3800
SETUVAR fish_color_autosuggestion:brblack
SETUVAR fish_color_cancel:\x2dr
SETUVAR fish_color_command:normal
SETUVAR fish_color_comment:red
SETUVAR fish_color_cwd:green
SETUVAR fish_color_cwd_root:red
SETUVAR fish_color_end:green
SETUVAR fish_color_error:brred
SETUVAR fish_color_escape:brcyan
SETUVAR fish_color_history_current:\x2d\x2dbold
SETUVAR fish_color_host:normal
SETUVAR fish_color_host_remote:yellow
SETUVAR fish_color_normal:normal
SETUVAR fish_color_operator:brcyan
SETUVAR fish_color_param:cyan
SETUVAR fish_color_quote:yellow
SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold
SETUVAR fish_color_search_match:white\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_status:red
SETUVAR fish_color_user:brgreen
SETUVAR fish_color_valid_path:\x2d\x2dunderline
SETUVAR fish_key_bindings:fish_default_key_bindings
SETUVAR fish_pager_color_completion:normal
SETUVAR fish_pager_color_description:yellow\x1e\x2di
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
SETUVAR fish_pager_color_selected_background:\x2dr