summaryrefslogtreecommitdiffstatshomepage
path: root/shell/wsl.sh
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2021-05-12 20:27:05 -0500
committerToby Vincent <tobyv13@gmail.com>2021-05-12 20:27:05 -0500
commit395bce80ca7d6f572825c2618767e87ec43ddc12 (patch)
treec9570e3b2a3fc0874ef95d930fab676bac6f20d0 /shell/wsl.sh
parent516ce638f5c5ce0dab77367aa906f374da14b315 (diff)
refactor: renamed the shell folder to sh
Diffstat (limited to 'shell/wsl.sh')
-rw-r--r--shell/wsl.sh30
1 files changed, 0 insertions, 30 deletions
diff --git a/shell/wsl.sh b/shell/wsl.sh
deleted file mode 100644
index 4a876df..0000000
--- a/shell/wsl.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-export EDITOR=code
-
-alias cb=clip.exe
-alias wsl=wsl.exe
-alias ykman="/mnt/c/Program\ Files/Yubico/YubiKey\ Manager/ykman.exe"
-
-function wt() { powershell.exe -NoProfile -c "wt $@" }
-
-function winget() {
- cmd="winget.exe $1"
- shift # past cmd
-
- while [[ $# -gt 0 ]]
- do
- key="$1"
- case $key in
- -*) # key value pair
- cmd+=" $key '$2'"
- shift # past argument
- shift # past value
- ;;
- *) # positional argument
- cmd+=" '$1'" # add it to the list
- shift # past argument
- ;;
- esac
- done
-
- powershell.exe -NoProfile -c "$cmd"
-} \ No newline at end of file