46 lines
852 B
Fish
46 lines
852 B
Fish
if status is-interactive
|
|
# Commands to run in interactive sessions can go here
|
|
end
|
|
|
|
function sudo
|
|
if count $argv >/dev/null
|
|
command sudo $argv
|
|
else
|
|
command sudo (history | read -l)
|
|
end
|
|
end
|
|
|
|
set -x GPG_TTY (tty)
|
|
|
|
set -x EDITOR /usr/bin/hx
|
|
|
|
set -x VISUAL /usr/bin/hx
|
|
|
|
set -Ua fish_user_paths /home/sudoer777/.config/guix/current/bin/
|
|
|
|
set -x GUIX_HOME /home/sudoer777/.guix-home/profile
|
|
|
|
set -x GUILE_LOAD_PATH $GUIX_HOME/share/guile/site/3.0
|
|
|
|
set -x GUILE_LOAD_COMPILED_PATH $GUIX_HOME/share/guile/3.0/site-ccache $GUILE_LOAD_PATH
|
|
|
|
set -x ZATHURA_PLUGINS_PATH $GUIX_HOME/lib/zathura
|
|
|
|
alias ls='exa'
|
|
|
|
function home-reconfig
|
|
cd ~/src/guix-config
|
|
just
|
|
end
|
|
|
|
function home-edit
|
|
emacs ~/src/guix-config/home-configuration.scm
|
|
end
|
|
|
|
function home-update
|
|
cd ~/src/guix-config
|
|
just update
|
|
end
|
|
|
|
fish_add_path -g
|