Set editor to helix in config.fish
This commit is contained in:
parent
657bc9098b
commit
3e4056cd3a
2 changed files with 7 additions and 7 deletions
|
|
@ -3,14 +3,14 @@ if status is-interactive
|
|||
starship init fish | source
|
||||
|
||||
# Direnv + Zoxide
|
||||
command -v direnv &> /dev/null && direnv hook fish | source
|
||||
command -v zoxide &> /dev/null && zoxide init fish --cmd cd | source
|
||||
command -v direnv &>/dev/null && direnv hook fish | source
|
||||
command -v zoxide &>/dev/null && zoxide init fish --cmd cd | source
|
||||
|
||||
# Better ls
|
||||
alias ls='eza --icons --group-directories-first -1'
|
||||
|
||||
# Abbrs
|
||||
abbr lg 'lazygit'
|
||||
abbr lg lazygit
|
||||
abbr gd 'git diff'
|
||||
abbr ga 'git add .'
|
||||
abbr gc 'git commit -am'
|
||||
|
|
@ -27,16 +27,18 @@ if status is-interactive
|
|||
abbr gco 'git checkout'
|
||||
abbr gsh 'git show'
|
||||
|
||||
abbr l 'ls'
|
||||
abbr l ls
|
||||
abbr ll 'ls -l'
|
||||
abbr la 'ls -a'
|
||||
abbr lla 'ls -la'
|
||||
|
||||
# Custom colours
|
||||
cat ~/.local/state/caelestia/sequences.txt 2> /dev/null
|
||||
cat ~/.local/state/caelestia/sequences.txt 2>/dev/null
|
||||
|
||||
# For jumping between prompts in foot terminal
|
||||
function mark_prompt_start --on-event fish_prompt
|
||||
echo -en "\e]133;A\e\\"
|
||||
end
|
||||
end
|
||||
|
||||
set -gx EDITOR /usr/bin/hx
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue