1
0
Fork 0

Merge "env.fish: add"

master
q3k 2020-02-15 00:26:05 +00:00 committed by Gerrit Code Review
commit 0532cc4bee
1 changed files with 16 additions and 0 deletions

16
env.fish Normal file
View File

@ -0,0 +1,16 @@
set -x hscloud_root (dirname (realpath (status -f)))
if test ! -e "$hscloud_root/WORKSPACE"
echo "Could not find WORKSPACE"
exit 1
end
set hscloud_path $hscloud_root/bazel-bin/tools $hscloud_root/bazel-bin/cluster/tools
if not string match -q $hscloud_path $PATH
echo "OwO"
set -x PATH $hscloud_path $PATH
end
function gpg-unlock
echo "test" | gpg2 --sign --batch --no-tty -o /dev/null
end