Ajout config fish
parent
6d85bbf8ca
commit
398fa8200f
|
|
@ -0,0 +1,3 @@
|
||||||
|
if status is-interactive
|
||||||
|
# Commands to run in interactive sessions can go here
|
||||||
|
end
|
||||||
|
|
@ -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
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
function fluxUp --wraps='flux reconcile source git flux-system' --description 'alias fluxUp=flux reconcile source git flux-system'
|
||||||
|
flux reconcile source git flux-system $argv
|
||||||
|
|
||||||
|
end
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
function k --wraps=kubectl --description 'alias k=kubectl'
|
||||||
|
kubectl $argv
|
||||||
|
|
||||||
|
end
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
function kctx --wraps=kubectx --description 'alias kctx=kubectx'
|
||||||
|
kubectx $argv
|
||||||
|
|
||||||
|
end
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
function kns --wraps=kubens --description 'alias kns=kubens'
|
||||||
|
kubens $argv
|
||||||
|
|
||||||
|
end
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
function reducePdf --wraps='gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dBATCH -dColorImageResolution=150 -sOutputFile=output.pdf' --description 'alias reducePdf=gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dBATCH -dColorImageResolution=150 -sOutputFile=output.pdf'
|
||||||
|
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dBATCH -dColorImageResolution=150 -sOutputFile=output.pdf $argv
|
||||||
|
|
||||||
|
end
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
function resetTestDb --wraps='dropdb ofbiz && createdb ofbiz && ./gradlew "ofbiz -l readers=seed,seed-initial -l delegator=test"' --description 'alias resetTestDb=dropdb ofbiz && createdb ofbiz && ./gradlew "ofbiz -l readers=seed,seed-initial -l delegator=test"'
|
||||||
|
dropdb ofbiz && createdb ofbiz && ./gradlew "ofbiz -l readers=seed,seed-initial -l delegator=test" $argv
|
||||||
|
|
||||||
|
end
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
function sysup --wraps='sudo apt update && sudo apt upgrade -y' --description 'alias sysup=sudo apt update && sudo apt upgrade -y'
|
||||||
|
sudo apt update && sudo apt upgrade -y $argv
|
||||||
|
|
||||||
|
end
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
function testIntegOFbiz --wraps='./gradlew cleanAll loadAll testIntegration' --description 'alias testIntegOFbiz=./gradlew cleanAll loadAll testIntegration'
|
||||||
|
./gradlew cleanAll loadAll testIntegration $argv
|
||||||
|
|
||||||
|
end
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
function testRfid --wraps='./gradlew "ofbiz --test component=rfid --test delegator=test"' --description 'alias testRfid=./gradlew "ofbiz --test component=rfid --test delegator=test"'
|
||||||
|
./gradlew "ofbiz --test component=rfid --test delegator=test" $argv
|
||||||
|
|
||||||
|
end
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
function tn --wraps='ssh -L localhost:5488:emb-ofbiz-nereide-ofbiz2-rds.ckerltpo0vvy.eu-west-1.rds.amazonaws.com:5432 bastion.decathlon' --description 'alias tn=ssh -L localhost:5488:emb-ofbiz-nereide-ofbiz2-rds.ckerltpo0vvy.eu-west-1.rds.amazonaws.com:5432 bastion.decathlon'
|
||||||
|
ssh -L localhost:5488:emb-ofbiz-nereide-ofbiz2-rds.ckerltpo0vvy.eu-west-1.rds.amazonaws.com:5432 bastion.decathlon $argv
|
||||||
|
|
||||||
|
end
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
function todo --wraps='vi ~/Nextcloud/TODO/todo.txt' --description 'alias todo=vi ~/Nextcloud/TODO/todo.txt'
|
||||||
|
vi ~/Nextcloud/TODO/todo.txt $argv
|
||||||
|
|
||||||
|
end
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
function tp --wraps='ssh -L localhost:5488:emb-ofbiz-prep-ofbiz2-rds-encrypted.ckerltpo0vvy.eu-west-1.rds.amazonaws.com:5432 bastion.decathlon' --description 'alias tp=ssh -L localhost:5488:emb-ofbiz-prep-ofbiz2-rds-encrypted.ckerltpo0vvy.eu-west-1.rds.amazonaws.com:5432 bastion.decathlon'
|
||||||
|
ssh -L localhost:5488:emb-ofbiz-prep-ofbiz2-rds-encrypted.ckerltpo0vvy.eu-west-1.rds.amazonaws.com:5432 bastion.decathlon $argv
|
||||||
|
|
||||||
|
end
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
function windows --wraps=reboot_to_windows --description 'alias windows=reboot_to_windows'
|
||||||
|
reboot_to_windows $argv
|
||||||
|
|
||||||
|
end
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
function ya --wraps='yadm add' --description 'alias ya=yadm add'
|
||||||
|
yadm add $argv
|
||||||
|
|
||||||
|
end
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
function yc --wraps='yadm commit -v' --description 'alias yc=yadm commit -v'
|
||||||
|
yadm commit -v $argv
|
||||||
|
|
||||||
|
end
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
function yd --wraps='yadm diff' --description 'alias yd=yadm diff'
|
||||||
|
yadm diff $argv
|
||||||
|
|
||||||
|
end
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
function yp --wraps='yadm push' --description 'alias yp=yadm push'
|
||||||
|
yadm push $argv
|
||||||
|
|
||||||
|
end
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
function ys --wraps='yadm status' --description 'alias ys=yadm status'
|
||||||
|
yadm status $argv
|
||||||
|
|
||||||
|
end
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
function yup --wraps='yadm pull --rebase' --description 'alias yup=yadm pull --rebase'
|
||||||
|
yadm pull --rebase $argv
|
||||||
|
|
||||||
|
end
|
||||||
Loading…
Reference in New Issue