AutoYADM commit: 2025-03-28 23:30:07
This commit is contained in:
parent
480e885dcc
commit
b4ab1d94f2
3 changed files with 12 additions and 13 deletions
5
.config/fish/conf.d/abbr.fish
Normal file
5
.config/fish/conf.d/abbr.fish
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
abbr -a h hx
|
||||||
|
abbr -a gc git commit
|
||||||
|
abbr -a gco git checkout
|
||||||
|
abbr -a cls "clear; ls"
|
||||||
|
abbr -a ga git add
|
|
@ -1,16 +1,7 @@
|
||||||
if status is-interactive
|
if status is-interactive
|
||||||
# Commands to run in interactive sessions can go here
|
# Commands to run in interactive sessions can go here
|
||||||
|
starship init fish | source
|
||||||
|
direnv hook fish | source
|
||||||
|
zoxide init fish | source
|
||||||
|
thefuck --alias | source
|
||||||
end
|
end
|
||||||
|
|
||||||
starship init fish | source
|
|
||||||
direnv hook fish | source
|
|
||||||
zoxide init fish | source
|
|
||||||
thefuck --alias | source
|
|
||||||
set -x PATH $HOME/.local/bin $PATH
|
|
||||||
abbr -a h hx
|
|
||||||
abbr -a gc git commit
|
|
||||||
abbr -a gco git checkout
|
|
||||||
# fish_vi_key_bindings
|
|
||||||
# fish_vi_cursor
|
|
||||||
# set -Ux TERM xterm-256color
|
|
||||||
# set -gx TERM xterm-256color
|
|
||||||
|
|
3
.config/fish/functions/abbrsave.fish
Normal file
3
.config/fish/functions/abbrsave.fish
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
function abbrsave --description "Prepends 'abbr -a' and saves to config"
|
||||||
|
echo "abbr -a $argv" >> ~/.config/fish/conf.d/abbr.fish
|
||||||
|
end
|
Loading…
Add table
Add a link
Reference in a new issue