|
|
@ -17,46 +17,35 @@ if test -e $HOME/.nix-profile/etc/profile.d/nix.sh
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
if test -d "$HOME/.local/bin"
|
|
|
|
fish_add_path "$HOME/.local/bin"
|
|
|
|
fish_add_path "$HOME/.local/bin"
|
|
|
|
abbr -a vi vim
|
|
|
|
end
|
|
|
|
|
|
|
|
abbr -a cdd "cd {{ .deploydir }}"
|
|
|
|
abbr -a cdd "cd {{ .deploydir }}"
|
|
|
|
set -x cdd {{ .deploydir }}
|
|
|
|
set -x cdd {{ .deploydir }}
|
|
|
|
|
|
|
|
|
|
|
|
# git
|
|
|
|
# git
|
|
|
|
if type -q tig
|
|
|
|
abbr -a tiga tig --all
|
|
|
|
abbr -a tiga tig --all
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# fzf
|
|
|
|
# fzf
|
|
|
|
if type -q fzf
|
|
|
|
function p --description "cd project"
|
|
|
|
function p --description "cd project"
|
|
|
|
|
|
|
|
cd {{ .projectdir }} && _fzf_search_directory
|
|
|
|
cd {{ .projectdir }} && _fzf_search_directory
|
|
|
|
end
|
|
|
|
|
|
|
|
# File find: CTRL+F, Git log: CTRL+G
|
|
|
|
|
|
|
|
fzf_configure_bindings --directory=\cf --git_log=\cg
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# File find: CTRL+F, Git log: CTRL+G
|
|
|
|
|
|
|
|
fzf_configure_bindings --directory=\cf --git_log=\cg
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# maven
|
|
|
|
# maven
|
|
|
|
if type -q mvn
|
|
|
|
abbr -a m mvn
|
|
|
|
abbr -a m mvn
|
|
|
|
abbr -a mvnp mvn -Dmaven.test.skip -Dmaven.javadoc.skip=true -DskipMunitTests clean package
|
|
|
|
abbr -a mvnp mvn -Dmaven.test.skip -Dmaven.javadoc.skip=true -DskipMunitTests clean package
|
|
|
|
abbr -a mvni mvn -Dmaven.test.skip -Dmaven.javadoc.skip=true clean install
|
|
|
|
abbr -a mvni mvn -Dmaven.test.skip -Dmaven.javadoc.skip=true clean install
|
|
|
|
abbr -a mvnd mvn -Dmaven.test.skip -Dmaven.javadoc.skip=true deploy -P profile-nexus
|
|
|
|
abbr -a mvnd mvn -Dmaven.test.skip -Dmaven.javadoc.skip=true deploy -P profile-nexus
|
|
|
|
abbr -a mbump mvn versions:set -DnewVersion=$1 -DgenerateBackupPoms=false
|
|
|
|
abbr -a mbump mvn versions:set -DnewVersion=$1 -DgenerateBackupPoms=false
|
|
|
|
abbr -a d python3 ~/.local/bin/deploy.py
|
|
|
|
abbr -a d python3 ~/.local/bin/deploy.py
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# node
|
|
|
|
# node
|
|
|
|
if test -e "{{ .extra_ca_cert }}"
|
|
|
|
if test -e "{{ .extra_ca_cert }}"
|
|
|
|
set -x NODE_EXTRA_CA_CERTS {{ .extra_ca_cert }}
|
|
|
|
set -x NODE_EXTRA_CA_CERTS {{ .extra_ca_cert }}
|
|
|
|
set -x NODE_BUILD_CURL_OPTS --insecure
|
|
|
|
set -x NODE_BUILD_CURL_OPTS --insecure
|
|
|
|
end
|
|
|
|
end
|
|
|
|
#if test -d "$HOME/.nodenv"
|
|
|
|
|
|
|
|
# #set -Ux fish_user_paths $HOME/.nodenv/bin $fish_user_paths
|
|
|
|
|
|
|
|
# fish_add_path "$HOME/.nodenv/bin"
|
|
|
|
|
|
|
|
#end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# python
|
|
|
|
# python
|
|
|
|
if test -e "{{ .extra_ca_cert }}"
|
|
|
|
if test -e "{{ .extra_ca_cert }}"
|
|
|
|