some updates
This commit is contained in:
parent
3758852885
commit
1be766f969
5 changed files with 13 additions and 6 deletions
|
@ -39,7 +39,7 @@ zoxide init fish | source
|
|||
source ~/.config/fish/private.fish
|
||||
|
||||
# Environment variables
|
||||
set -x EDITOR "hx"
|
||||
set -x EDITOR "helix"
|
||||
set -x USER "lu"
|
||||
set -x SHELL (which fish)
|
||||
set -x TERM xterm-256color
|
||||
|
@ -93,10 +93,16 @@ alias squish "gs; and g commit -a --amend -C HEAD"
|
|||
alias editorigin "git remote set-url origin"
|
||||
|
||||
# Alias vim to helix if it exists because vim is way easier to type
|
||||
if command --search hx > /dev/null
|
||||
if command --search helix > /dev/null
|
||||
alias hx "helix"
|
||||
alias vim "hx"
|
||||
end
|
||||
|
||||
# Load asdf if it's installed
|
||||
if test -e ~/.asdf
|
||||
. ~/.asdf/asdf.fish
|
||||
end
|
||||
|
||||
# Load nix profile if nix is installed
|
||||
if test -e /nix
|
||||
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.fish
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue