Vim Golang/Firefox profile bindings

This commit is contained in:
2020-09-21 13:59:54 -04:00
parent ef68d2e9c7
commit b622ec0964
11 changed files with 79 additions and 29 deletions

View File

@@ -37,12 +37,12 @@ set -x PKG_CONFIG_PATH $PKG_CONFIG_PATH /usr/lib/pkgconfig
# set -x GRAALVM_HOME /usr/lib/jvm/graalvm-ce-java11-20.1.0
# set -x GRAALVM_BIN $GRAALVM_HOME/bin
# set -x JAVA_HOME /usr/lib/jvm/java-11-openjdk
# set -x JAVA_HOME $GRAALVM_HOME
# for shared libs
# set -x JAVA_HOME /usr/lib/jvm/java-8-openjdk
set -x JAVA_HOME /usr/lib/jvm/java-11-openjdk
# set -x JAVA_HOME /usr/lib/jvm/java-8-openjdk
set -x PATH $JAVA_HOME/bin $PATH
# ]]] Java #
@@ -76,7 +76,7 @@ set -xU FZF_DEFAULT_COMMAND "find ."
# set -xU PHONE_IP "192.168.0.10"
# set -xU WORK_LAPTOP_IP "kmok@192.168.0.12"
set -x PHONE_IP "192.168.0.10"
set -x PHONE_IP "192.168.0.11"
set -x WORK_LAPTOP_IP "kmok@192.168.0.12"
{{ if eq .chezmoi.fullHostname "nzxt" }}
@@ -208,12 +208,15 @@ abbr smr "smol-replace"
abbr shrm "shred-rm"
abbr shs "scan-history"
abbr svp "server-pages"
abbr ta "tmux-attach"
abbr thes "thesaurus"
abbr usc "us-to-cad"
abbr ut "unix-timestamp"
abbr uzr "unzip-rm"
abbr vsnp "vim-snippet"
abbr waf "watson-add-fortnite"
abbr wag "watson-add-game"
abbr waf "watson-add-game fortnite"
abbr wap "watson-add-game pokemon-go"
abbr xya "export-pkgs"
# school [[[ #

View File

@@ -1,4 +1,4 @@
function maven-test-method
# mvn "-Dtest=$argv[1]#*$argv[2]*" clean test
mvn "-Dtest=$argv[1]#*$argv[2]*" test
mvn "-Dtest=$argv[1]#*$argv[2]*" clean test
# mvn "-Dtest=$argv[1]#*$argv[2]*" test
end

View File

@@ -0,0 +1,3 @@
function mute-video
ffmpeg -i $argv[1] -c copy -an $argv[2]
end

View File

@@ -0,0 +1,11 @@
function watson-add-game
set year_month (date -u +"%Y-%m")
set start_time "$year_month-$argv[2] $argv[3]"
set end_time "$year_month-$argv[4] $argv[5]"
if test (count $argv) -eq 5
watson add -f $start_time -t $end_time fun +$argv[1]
else
watson add -f $start_time -t $end_time fun +$argv[1] +$argv[6]
end
end