File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,6 @@ lazy-connect - Shell function to fuzzy search an IPSec VPN by name
66
66
67
67
-n - Connect to VPN by autofilling password
68
68
-i - Initialize lazy-connect. Stores the TOTP secret and VPN list
69
- -u - Update lazy-connect
70
69
-r - Refresh vpn list in ~/.config/lazy-connect
71
70
-h - Show this help
72
71
EOF
@@ -144,12 +143,6 @@ function _lazy_connect() {
144
143
EOF
145
144
}
146
145
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
-
153
146
function lazy-connect() {
154
147
local OPTIND
155
148
mkdir -p $_lazy_connect_config_dir
@@ -169,10 +162,6 @@ function lazy-connect() {
169
162
_lazy_connect_vpn_refresh
170
163
return 0
171
164
;;
172
- u)
173
- _lazy_connect_update
174
- return 0
175
- ;;
176
165
n)
177
166
local _secret=$( cat $_lazy_connect_config_dir /secret)
178
167
local _vpn_name=$( cat $_lazy_connect_config_dir /vpns | fzf --height=10 --ansi --reverse --select-1)
You can’t perform that action at this time.
0 commit comments