Initial commit
This commit is contained in:
commit
aeaed64671
7 changed files with 72 additions and 0 deletions
0
dot_config/private_fish/completions/.keep
Normal file
0
dot_config/private_fish/completions/.keep
Normal file
0
dot_config/private_fish/conf.d/.keep
Normal file
0
dot_config/private_fish/conf.d/.keep
Normal file
18
dot_config/private_fish/config.fish
Normal file
18
dot_config/private_fish/config.fish
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
set -gx KUBE_EDITOR micro
|
||||||
|
set -gx VISUAL micro
|
||||||
|
set -gx EDITOR micro
|
||||||
|
set -gx ANSIBLE_FORCE_COLOR true
|
||||||
|
set -gx ANSIBLE_HOST_KEY_CHECKING False
|
||||||
|
|
||||||
|
if type -q direnv
|
||||||
|
direnv hook fish | source
|
||||||
|
end
|
||||||
|
|
||||||
|
if type -q atuin
|
||||||
|
atuin init fish | source
|
||||||
|
end
|
||||||
|
|
||||||
|
if status is-interactive
|
||||||
|
# Commands to run in interactive sessions can go here
|
||||||
|
set -g fish_escape_delay_ms 100
|
||||||
|
end
|
31
dot_config/private_fish/fish_variables
Normal file
31
dot_config/private_fish/fish_variables
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# This file contains fish universal variable definitions.
|
||||||
|
# VERSION: 3.0
|
||||||
|
SETUVAR __fish_initialized:3400
|
||||||
|
SETUVAR fish_color_autosuggestion:555\x1ebrblack
|
||||||
|
SETUVAR fish_color_cancel:\x2dr
|
||||||
|
SETUVAR fish_color_command:blue
|
||||||
|
SETUVAR fish_color_comment:red
|
||||||
|
SETUVAR fish_color_cwd:green
|
||||||
|
SETUVAR fish_color_cwd_root:red
|
||||||
|
SETUVAR fish_color_end:green
|
||||||
|
SETUVAR fish_color_error:brred
|
||||||
|
SETUVAR fish_color_escape:brcyan
|
||||||
|
SETUVAR fish_color_history_current:\x2d\x2dbold
|
||||||
|
SETUVAR fish_color_host:normal
|
||||||
|
SETUVAR fish_color_host_remote:yellow
|
||||||
|
SETUVAR fish_color_normal:normal
|
||||||
|
SETUVAR fish_color_operator:brcyan
|
||||||
|
SETUVAR fish_color_param:cyan
|
||||||
|
SETUVAR fish_color_quote:yellow
|
||||||
|
SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold
|
||||||
|
SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
|
||||||
|
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
|
||||||
|
SETUVAR fish_color_status:red
|
||||||
|
SETUVAR fish_color_user:brgreen
|
||||||
|
SETUVAR fish_color_valid_path:\x2d\x2dunderline
|
||||||
|
SETUVAR fish_key_bindings:fish_default_key_bindings
|
||||||
|
SETUVAR fish_pager_color_completion:normal
|
||||||
|
SETUVAR fish_pager_color_description:B3A06D\x1eyellow\x1e\x2di
|
||||||
|
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
|
||||||
|
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
||||||
|
SETUVAR fish_pager_color_selected_background:\x2dr
|
7
dot_config/private_fish/functions/k.fish
Normal file
7
dot_config/private_fish/functions/k.fish
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
function k --wraps=kubectl --description 'kubectl shorthand'
|
||||||
|
if type -q kubecolor
|
||||||
|
{{ lookPath "kubecolor" }} $argv
|
||||||
|
else
|
||||||
|
{{ lookPath "kubectl" }} $argv
|
||||||
|
end
|
||||||
|
end
|
7
dot_config/private_fish/functions/ls.fish
Normal file
7
dot_config/private_fish/functions/ls.fish
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
function ls --wraps=las --description 'lsd shorthand'
|
||||||
|
if type -q lsd
|
||||||
|
{{ lookPath "lsd" }} $argv
|
||||||
|
else
|
||||||
|
{{ lookPath "ls" }} $argv
|
||||||
|
end
|
||||||
|
end
|
9
dot_config/private_fish/functions/vim.fish
Normal file
9
dot_config/private_fish/functions/vim.fish
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
function vim --wraps=micro --description 'run micro instead of vim'
|
||||||
|
if type -q micro
|
||||||
|
{{ lookPath "micro" }} $argv
|
||||||
|
else if type -q nvim
|
||||||
|
{{ lookPath "nvim" }} $argv
|
||||||
|
else
|
||||||
|
{{ lookPath "vim" }} $argv
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue