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 @@ -65,7 +65,6 @@ lazy-connect - Shell function to fuzzy search an IPSec VPN by name
6565 and connect to it automatically.
6666
6767-i - Initialize lazy-connect. Stores the TOTP secret and VPN list
68- -u - Update lazy-connect
6968-r - Refresh vpn list in ~/.config/lazy-connect
7069-h - Show this help
7170EOF
@@ -134,12 +133,6 @@ function _lazy_connect() {
134133EOF
135134}
136135
137- function _lazy_connect_update() {
138- git -C $_lazy_connect_project_dir pull origin master
139- echo -e " \n\nRun the below command or restart your shell."
140- echo " $ source $_lazy_connect_project_dir /lazy-connect.sh"
141- }
142-
143136function lazy-connect() {
144137 local OPTIND
145138 mkdir -p $_lazy_connect_config_dir
@@ -159,10 +152,6 @@ function lazy-connect() {
159152 _lazy_connect_vpn_refresh
160153 return 0
161154 ;;
162- u)
163- _lazy_connect_update
164- return 0
165- ;;
166155 \? )
167156 echo " Invalid Option: -$OPTARG ."
168157 _lazy_connect_usage
You can’t perform that action at this time.
0 commit comments