periodic update

This commit is contained in:
ana 2021-09-22 09:27:04 +02:00
parent 0ac971ff1f
commit 6e3f3122f1
14 changed files with 18 additions and 332 deletions

View file

@ -3,6 +3,11 @@ function setpath
test -e $argv[1]; and set PATH $argv[1] $PATH
end
# Custom greeting
function fish_greeting
end
if test -z "$XDG_RUNTIME_DIR"
set -x XDG_RUNTIME_DIR "/tmp/$USER-runtime-dir"
if test ! -e "$XDG_RUNTIME_DIR"
@ -11,19 +16,18 @@ if test -z "$XDG_RUNTIME_DIR"
end
end
# Set Nix include path if it exists
if test -e ~/.nix-profile/etc/profile.d/nix.sh
fenv source ~/.nix-profile/etc/profile.d/nix.sh
if test -e /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
fenv source /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
end
# PATH adjustment
setpath /opt/local/bin
setpath /opt/homebrew/bin
setpath ~/.rbenv/shims
setpath ~/.rbenv/bin
setpath ~/.cargo/bin
setpath ~/.nimble/bin
setpath ~/.local/bin
setpath ~/n/bin
setpath ~/.bin
setpath ~/.cask/bin
setpath ~/.npm-packages/bin
@ -32,6 +36,8 @@ setpath /snap/bin
setpath ~/.emacs.d/bin
setpath ~/Library/Python/3.7/bin
setpath ~/.radicle/bin
setpath ~/.edgedb/bin
setpath ~/.fly/bin
# zoxide setup
zoxide init fish | source
@ -75,6 +81,7 @@ alias mkt "cd (mktemp -d)"
alias y "sudo zypper"
alias czm "chezmoi"
alias r "ranger"
alias zcc "zig cc"
# Git Aliases
alias g "git"
alias gs "g status --short"

View file

@ -1,7 +0,0 @@
jethrokuan/z
jorgebucaran/fish-nvm
oh-my-fish/plugin-foreign-env
jorgebucaran/fisher
mattgreen/lucid.fish
franciscolourenco/done
laughedelic/pisces