Initial commit

This commit is contained in:
Eric Renfro 2023-12-24 11:43:10 -05:00
commit aeaed64671
Signed by: psi-jack
GPG key ID: 14977F3A50D9A5BF
7 changed files with 72 additions and 0 deletions

View file

View 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

View 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

View 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

View 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

View 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