hscloud/env.fish
d42 90efd491e5 env.fish: add
Change-Id: I53584e8e99a668c602b8361417782a84f3834042
2020-02-15 01:22:58 +01:00

16 lines
413 B
Fish

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