aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/wsl/wsl.sh
diff options
context:
space:
mode:
Diffstat (limited to 'wsl/wsl.sh')
-rw-r--r--wsl/wsl.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/wsl/wsl.sh b/wsl/wsl.sh
index ef04633..b63e914 100644
--- a/wsl/wsl.sh
+++ b/wsl/wsl.sh
@@ -6,7 +6,6 @@ WINHOME="/mnt/c/Users/$USER"
export BROWSER=wslview
export EDITOR="code --wait"
-alias cb=clip.exe
alias wsl=wsl.exe
alias ykman='/mnt/c/Program\ Files/Yubico/YubiKey\ Manager/ykman.exe'
@@ -40,9 +39,9 @@ wsl_cmd_proxy() {
powershell.exe -NoProfile -c 'cd $HOME;' "$exe" "$cmd" "$args"
}
-function winget { wsl_cmd_proxy "winget.exe" "$@"; }
-function scoop { wsl_cmd_proxy "scoop" "$@"; }
-function alacritty { wsl_cmd_proxy "alacritty.exe" "$@"; }
+winget() { wsl_cmd_proxy "winget.exe" "$@"; }
+scoop() { wsl_cmd_proxy "scoop" "$@"; }
+alacritty() { wsl_cmd_proxy "alacritty.exe" "$@"; }
# https://github.com/validatedev/drop-cache-if-idle
[ -z "$(ps -ef | grep cron | grep -v grep)" ] && sudo /etc/init.d/cron start &>/dev/null