Delete .profile, move aliases into fish function directory

This commit is contained in:
Evie Litherland-Smith 2023-02-25 11:33:00 +00:00
parent 969264c21a
commit c8953aa6d0
6 changed files with 14 additions and 13 deletions

View file

@ -1,9 +0,0 @@
# Start keychain
command -v keychain > /dev/null && eval $(keychain --eval --quiet --noask -Q id_ed25519 id_rsa)
# Set local paths
LOCAL_BIN="$HOME/.local/bin"
echo $PATH | grep -i "$LOCAL_BIN" - > /dev/null || export PATH=$PATH:$LOCAL_BIN
DOTFILES_BIN="$(dirname $(dirname $(readlink -f $0)))/bin"
echo $PATH | grep -i "$DOTFILES_BIN" - > /dev/null || export PATH=$PATH:$DOTFILES_BIN

View file

@ -1,9 +1,7 @@
if status is-interactive if status is-interactive
set -gx EDITOR nvim
set -gx VISUAL nvim
fish_config theme choose CatppuccinMacchiato fish_config theme choose CatppuccinMacchiato
alias vim="nvim"
alias vimdiff="nvim -d"
alias nvimdiff="nvim -d"
alias lg="lazygit"
end end
function starship_transient_prompt_func function starship_transient_prompt_func

View file

@ -0,0 +1,3 @@
function lg
lazygit $argv
end

View file

@ -0,0 +1,3 @@
function nvimdiff
nvim -d
end

View file

@ -0,0 +1,3 @@
function vim
nvim
end

View file

@ -0,0 +1,3 @@
function vimdiff
vim -d
end