diff options
Diffstat (limited to 'wsl/wsl.sh')
-rw-r--r-- | wsl/wsl.sh | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 |