Something went wrong. Try again.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687# pathsif not set --query NICE_HOME set --export --universal NICE_HOME $HOME
# if HOME ends with a dir called .home, assume that NICE_HOME is HOME's parent dir test (basename $HOME) = .home \ && set --export --universal NICE_HOME (realpath $HOME/..)end
set --export --universal XDG_CONFIG_HOME $HOME/.configset --export --universal XDG_CACHE_HOME $HOME/.cacheset --export --universal XDG_DATA_HOME $HOME/.local/shareset --export --universal XDG_STATE_HOME $HOME/.local/stateset --export --universal XDG_DESKTOP_DIR $HOME/desktopset --export --universal XDG_PUBLICSHARE_DIR $HOME/publicset --export --universal XDG_TEMPLATES_DIR $HOME/templatesset --export --universal XDG_DOCUMENTS_DIR $NICE_HOME/docset --export --universal XDG_DOWNLOAD_DIR $NICE_HOME/dlset --export --universal XDG_MUSIC_DIR $NICE_HOME/musicset --export --universal XDG_PICTURES_DIR $NICE_HOME/imgset --export --universal XDG_VIDEOS_DIR $NICE_HOME/videoset --export --universal XDG_GAMES_DIR $NICE_HOME/games
set --export --universal NOTES_PATH $NICE_HOME/doc/notesset --export --universal SCROTS_PATH $NICE_HOME/img/scrotsset --export --universal USER_LOGS_PATH $NICE_HOME/doc/logs
set --export --universal CDPATH $NICE_HOME
# varsset --export --universal LS_COLORS 'ow=01;36;40'set --export --universal EXA_COLORS '*=0'
set --export --universal ERL_AFLAGS "-kernel shell_history enabled -kernel shell_history_file_bytes 1024000"
set --export --universal SOPS_AGE_KEY_FILE "$XDG_CONFIG_HOME/sops/age/keys.txt"
if has_command skim set --export --universal SKIM_ALT_C_COMMAND "fd --hidden --type directory" set --export --universal SKIM_CTRL_T_COMMAND "fd --hidden"end
set --export --universal NEWT_COLORS "root=black,black:border=black,blue"
# colorsset -U fish_color_normal normal # default colorset -U fish_color_command white # base command being run (>ls< -la)set -U fish_color_param white # command's parametersset -U fish_color_end green # command delimiter/separators (; and &)set -U fish_color_error red # color of errorsset -U fish_color_escape yellow # color of escape codes (\n, \x2d, etc.)set -U fish_color_operator blue # expansion operators (~, *)set -U fish_color_quote yellowset -U fish_color_redirection blue # redirection operators (|, >, etc.)set -U fish_color_cancel 333 brblack # sigint at prompt (^C)set -U fish_color_autosuggestion 666 brblack # as-you-type suggestionsset -U fish_color_match blue # matching parens and the likeset -U fish_color_search_match white\x1e\x2d\x2dbackground\x3d333 # selected pager itemset -U fish_color_selection blue # vi mode visual selection (only fg)set -U fish_color_valid_path yellow # if an argument is a valid path (only -u?)set -U fish_color_comment 666 brblack # comments like this one!
set -U fish_pager_color_completion white # main color for pagerset -U fish_pager_color_description magenta # color for meta descriptionset -U fish_pager_color_prefix blue # the string being completedset -U fish_pager_color_progress white\x1e\x2d\x2dbackground\x3d333 # status indicator at the bottom# set -U fish_pager_color_secondary \x2d\x2dbackground\x3d181818 # alternating rows
if test -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish' source '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish'end
function has_command --wraps=command --description "Exits non-zero if the given command cannot be found" command --quiet --search $argv[1]end
if has_command rtx rtx activate fish | sourceend
for dir in ~/.cargo/bin ~/.nimble/bin ~/.local/bin /opt/homebrew/bin test -d $dir && fish_add_path $dirend
# don't let other users read my files by defaultumask 077