Skip to content

Commit cc354c0

Browse files
committed
feat(makefiel): send credential file to vpn-open and configure zshell
1 parent 10f5ac6 commit cc354c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ clean:
3737
sudo rm $(key_path) || true
3838
rmdir --ignore-fail-on-non-empty $(key_directory)
3939

40-
.PHONY: configuration # = Create alias vpn and add this directory to PATH in the shell
41-
configuration:
40+
.PHONY: zshell-configuration # = Create alias vpn and add this directory to PATH in the zshell
41+
zshell-configuration:
4242
echo "" >> $(zhell_path)
4343
echo "" >> $(zhell_path)
4444
echo "# Used to automate barracuda-vpn" >> $(zhell_path)
45-
echo "alias vpn=\"vpn-open $(key_path)\"" >> $(zhell_path)
45+
echo "alias vpn=\"vpn-open $(key_path) $(credentials_path)\"" >> $(zhell_path)
4646
echo "export PATH=\44PATH:$(PWD)" >> $(zhell_path)
4747
echo "# Used to automate barracuda-vpn" >> $(zhell_path)
4848

0 commit comments

Comments
 (0)