Varius
This commit is contained in:
+2
-1
@@ -1,4 +1,6 @@
|
|||||||
abbr -a -- cd z
|
abbr -a -- cd z
|
||||||
|
abbr -a -- opc opencode
|
||||||
|
abbr -a -- opcc opencode -c
|
||||||
abbr -a -- cl clear
|
abbr -a -- cl clear
|
||||||
abbr -a -- g git
|
abbr -a -- g git
|
||||||
abbr -a -- l ezals
|
abbr -a -- l ezals
|
||||||
@@ -10,4 +12,3 @@ abbr -a -- kcc kubectl ctx
|
|||||||
abbr -a -- zj zellij
|
abbr -a -- zj zellij
|
||||||
abbr -a -- sysc systemctl
|
abbr -a -- sysc systemctl
|
||||||
abbr -a -- syscu systemctl --user
|
abbr -a -- syscu systemctl --user
|
||||||
|
|
||||||
|
|||||||
+34
-34
@@ -1,44 +1,44 @@
|
|||||||
set -g fish_greeting "Hi Dadd"
|
set -g fish_greeting "Hi Dadd"
|
||||||
|
|
||||||
# set nvim editor
|
# Set editor
|
||||||
set -g EDITOR nvim
|
set -gx EDITOR nvim
|
||||||
set -g KUBE_EDITOR nvim
|
set -gx KUBE_EDITOR nvim
|
||||||
set -g TERM xterm-256color
|
|
||||||
|
# Set correct TERM and TERMINAL for kitty
|
||||||
|
set -gx TERM xterm-kitty
|
||||||
|
set -gx TERMINAL kitty
|
||||||
|
|
||||||
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
|
||||||
fish_vi_key_bindings
|
fish_vi_key_bindings
|
||||||
|
|
||||||
|
# Ctrl-o Find a file.
|
||||||
|
# Ctrl-r Search through command history.
|
||||||
|
# Alt-c cd into sub-directories (recursively searched).
|
||||||
|
# Alt-Shift-c cd into sub-directories, including hidden ones.
|
||||||
|
# Alt-o Open a file/dir using default editor ($EDITOR)
|
||||||
|
# Alt-Shift-o Open a file/dir using xdg-open or open command
|
||||||
|
|
||||||
# Ctrl-o Find a file.
|
set -g fish_sequence_key_delay_ms 200
|
||||||
# Ctrl-r Search through command history.
|
bind -M insert -m default j,k cancel repaint-mode
|
||||||
# Alt-c cd into sub-directories (recursively searched).
|
bind -M insert \cn \\t
|
||||||
# Alt-Shift-c cd into sub-directories, including hidden ones.
|
set -q KREW_ROOT; and set -gx PATH $PATH $KREW_ROOT/.krew/bin; or set -gx PATH $PATH $HOME/.krew/bin
|
||||||
# Alt-o Open a file/dir using default editor ($EDITOR)
|
|
||||||
# Alt-Shift-o Open a file/dir using xdg-open or open command
|
|
||||||
|
|
||||||
set -g fish_sequence_key_delay_ms 200
|
alias claude="~/.claude/local/claude"
|
||||||
bind -M insert -m default j,k cancel repaint-mode
|
# Check max tmux window in the Home session and open the Home session in a new tmux window
|
||||||
bind -M insert \cn \\t
|
# Find max window number in the Home session
|
||||||
set -q KREW_ROOT; and set -gx PATH $PATH $KREW_ROOT/.krew/bin; or set -gx PATH $PATH $HOME/.krew/bin
|
#if test -z "$TMUX";
|
||||||
|
# # set name "$(date '+%Y%m%d_%H%M%S')"
|
||||||
alias claude="~/.claude/local/claude"
|
# # exec flock -w 1 -F -n "/tmp/zellij-$name" zellij -s "$name"
|
||||||
# Check max tmux window in the Home session and open the Home session in a new tmux window
|
# exec tmux
|
||||||
# Find max window number in the Home session
|
#end
|
||||||
set TERM 'xterm-kitty'
|
# if test -z "$ZELLIJ";
|
||||||
#if test -z "$TMUX";
|
# # set name "$(date '+%Y%m%d_%H%M%S')"
|
||||||
# # set name "$(date '+%Y%m%d_%H%M%S')"
|
# # exec flock -w 1 -F -n "/tmp/zellij-$name" zellij -s "$name"
|
||||||
# # exec flock -w 1 -F -n "/tmp/zellij-$name" zellij -s "$name"
|
# exec zellij
|
||||||
# exec tmux
|
# end
|
||||||
#end
|
|
||||||
# if test -z "$ZELLIJ";
|
|
||||||
# # set name "$(date '+%Y%m%d_%H%M%S')"
|
|
||||||
# # exec flock -w 1 -F -n "/tmp/zellij-$name" zellij -s "$name"
|
|
||||||
# exec zellij
|
|
||||||
# end
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# opencode
|
||||||
|
fish_add_path /home/df/.opencode/bin
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user