add fish config
This commit is contained in:
48
fish/config.fish
Normal file
48
fish/config.fish
Normal file
@@ -0,0 +1,48 @@
|
||||
set fish_greeting ""
|
||||
if status is-interactive
|
||||
# Commands to run in interactive sessions can go here
|
||||
set -Ux EDITOR nvim
|
||||
|
||||
end
|
||||
|
||||
alias reloadwaybar='pkill -SIGUSR2 waybar'
|
||||
alias cd='z'
|
||||
alias man='wikiman'
|
||||
alias ovim='vim'
|
||||
alias vim='nvim'
|
||||
alias edit='nvim'
|
||||
source "$HOME/.cargo/env.fish"
|
||||
|
||||
# Start ssh-agent if not already running
|
||||
#if not pgrep -u (id -u) ssh-agent >/dev/null
|
||||
# ssh-agent -c | source
|
||||
#end
|
||||
|
||||
# Add SSH keys if not already added
|
||||
#if test -f ~/.ssh/id_ed25519
|
||||
# ssh-add -l >/dev/null 2>&1
|
||||
# or ssh-add ~/.ssh/id_ed25519
|
||||
#end
|
||||
|
||||
zoxide init fish | source
|
||||
|
||||
# Added by LM Studio CLI (lms)
|
||||
set -gx PATH $PATH /home/sortedcord/.lmstudio/bin
|
||||
# End of LM Studio CLI section
|
||||
|
||||
# pnpm
|
||||
set -gx PNPM_HOME "/home/sortedcord/.local/share/pnpm"
|
||||
if not string match -q -- $PNPM_HOME $PATH
|
||||
set -gx PATH "$PNPM_HOME" $PATH
|
||||
end
|
||||
# pnpm end
|
||||
|
||||
# claurst
|
||||
fish_add_path /home/sortedcord/.claurst/bin
|
||||
|
||||
|
||||
# Added by Antigravity CLI installer
|
||||
set -gx PATH "/home/sortedcord/.local/bin" $PATH
|
||||
|
||||
# Generated for envman. Do not edit.
|
||||
test -s ~/.config/envman/load.fish; and source ~/.config/envman/load.fish
|
||||
Reference in New Issue
Block a user