2023-11-28 14:33:20 +01:00
|
|
|
if status is-interactive
|
|
|
|
|
# Commands to run in interactive sessions can go here
|
|
|
|
|
end
|
|
|
|
|
|
2023-11-29 12:47:39 +01:00
|
|
|
# functions and changes
|
|
|
|
|
set -U fish_prompt_pwd_dir_length 0
|
|
|
|
|
function fish_greeting
|
2023-11-29 13:07:36 +01:00
|
|
|
neofetch --config /etc/neofetch/config.conf --ascii /etc/neofetch/ascii/st_combadge.ascii
|
2023-11-29 12:47:39 +01:00
|
|
|
end
|
|
|
|
|
|
2023-11-28 14:33:20 +01:00
|
|
|
# A few aliases for exa, a ls replacement
|
|
|
|
|
alias ll="exa --sort Name --long --header"
|
|
|
|
|
alias la="exa --sort Name --long --all --header"
|
|
|
|
|
alias lr="exa --sort Name --long --recurse --header"
|
|
|
|
|
alias lra="exa --sort Name --long --recurse --all --header"
|
|
|
|
|
alias lt="exa --sort Name --long --tree --header"
|
|
|
|
|
alias lta="exa --sort Name --long --tree --all --header"
|
|
|
|
|
alias ls="exa --sort Name --header"
|
|
|
|
|
|
|
|
|
|
# other aliases
|
2023-11-29 12:24:15 +01:00
|
|
|
alias copy='rsync -ah --progress'
|
|
|
|
|
|