Skip to content

Commit 5011939

Browse files
author
Dinesh Kumar
committed
Merge branch 'master' into manual_mode
2 parents b965bbc + aeb8276 commit 5011939

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

lazy-connect

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ lazy-connect - Shell function to fuzzy search an IPSec VPN by name
6666
6767
-n - Connect to VPN by autofilling password
6868
-i - Initialize lazy-connect. Stores the TOTP secret and VPN list
69-
-u - Update lazy-connect
7069
-r - Refresh vpn list in ~/.config/lazy-connect
7170
-h - Show this help
7271
EOF
@@ -144,12 +143,6 @@ function _lazy_connect() {
144143
EOF
145144
}
146145

147-
function _lazy_connect_update() {
148-
git -C $_lazy_connect_project_dir pull origin master
149-
echo -e "\n\nRun the below command or restart your shell."
150-
echo "$ source $_lazy_connect_project_dir/lazy-connect.sh"
151-
}
152-
153146
function lazy-connect() {
154147
local OPTIND
155148
mkdir -p $_lazy_connect_config_dir
@@ -169,10 +162,6 @@ function lazy-connect() {
169162
_lazy_connect_vpn_refresh
170163
return 0
171164
;;
172-
u)
173-
_lazy_connect_update
174-
return 0
175-
;;
176165
n)
177166
local _secret=$(cat $_lazy_connect_config_dir/secret)
178167
local _vpn_name=$(cat $_lazy_connect_config_dir/vpns | fzf --height=10 --ansi --reverse --select-1)

0 commit comments

Comments
 (0)