Fixes
This commit is contained in:
+3
-1
@@ -1,4 +1,4 @@
|
||||
abbr -a -- cd z
|
||||
#abbr -a -- cd z
|
||||
abbr -a -- opc opencode
|
||||
abbr -a -- opcc opencode -c
|
||||
abbr -a -- cl clear
|
||||
@@ -7,6 +7,8 @@ abbr -a -- l ezals
|
||||
abbr -a -- ll 'ezals -TL2'
|
||||
abbr -a -- q exit
|
||||
abbr -a -- v nvim
|
||||
abbr -a -- vs nvim --server /tmp/nvim-server.sock
|
||||
abbr -a -- vo nvim --server /tmp/nvim-server.sock --remote-tab
|
||||
abbr -a -- kc kubectl
|
||||
abbr -a -- kcc kubectl ctx
|
||||
abbr -a -- zj zellij
|
||||
|
||||
+16
@@ -5,6 +5,9 @@ set -gx EDITOR nvim
|
||||
set -gx KUBE_EDITOR nvim
|
||||
set -g TERM xterm-256color
|
||||
|
||||
# For enable nvim server, first instance become the listener
|
||||
#set -gx NVIM_LISTEN_ADDRESS /tmp/nvim-server.sock
|
||||
|
||||
# Set correct TERM and TERMINAL for kitty
|
||||
set -gx TERM xterm-kitty
|
||||
set -gx TERMINAL kitty
|
||||
@@ -13,6 +16,12 @@ if status is-interactive
|
||||
# Commands to run in interactive sessions can go here
|
||||
fish_vi_key_bindings
|
||||
|
||||
# Disable flow control (Ctrl+S/Ctrl+Q) to prevent terminal freeze
|
||||
# stty -ixon
|
||||
|
||||
# Handle spurious cursor position reports that might appear in prompt
|
||||
# This happens when background jobs query the terminal
|
||||
|
||||
# Ctrl-o Find a file.
|
||||
# Ctrl-r Search through command history.
|
||||
# Alt-c cd into sub-directories (recursively searched).
|
||||
@@ -25,6 +34,9 @@ if status is-interactive
|
||||
bind -M insert \cn \\t
|
||||
set -q KREW_ROOT; and set -gx PATH $PATH $KREW_ROOT/.krew/bin; or set -gx PATH $PATH $HOME/.krew/bin
|
||||
|
||||
set -U autovenv_enable yes
|
||||
set -U autovenv_announce no
|
||||
set -U autovenv_dir .venv
|
||||
# Check max tmux window in the Home session and open the Home session in a new tmux window
|
||||
# Find max window number in the Home session
|
||||
#if test -z "$TMUX";
|
||||
@@ -41,3 +53,7 @@ if status is-interactive
|
||||
end
|
||||
|
||||
fish_add_path /home/df/.opencode/bin
|
||||
|
||||
# Added by LM Studio CLI (lms)
|
||||
set -gx PATH $PATH /home/df/.lmstudio/bin
|
||||
# End of LM Studio CLI section
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
function ezals --wraps='eza --icons --git --no-user --octal-permissions --no-permissions --group-directories-first -s name -lah' --description 'Base exa'
|
||||
eza --icons --git --no-user --octal-permissions --no-permissions --group-directories-first -s name -lah $argv
|
||||
eza --icons --git --no-user --octal-permissions --no-permissions --group-directories-first -s name --hyperlink -lah $argv
|
||||
end
|
||||
|
||||
@@ -57,5 +57,13 @@ function fish_prompt --description 'Write out the prompt'
|
||||
echo -n $prompt_status
|
||||
set_color normal
|
||||
|
||||
# Background jobs counter
|
||||
set -l jobs_count (count (jobs -p))
|
||||
if test $jobs_count -gt 0
|
||||
set_color yellow
|
||||
echo -n "[$jobs_count] "
|
||||
set_color normal
|
||||
end
|
||||
|
||||
echo -n "$suffix "
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user