diff --git a/platforms/wsl/winterop.zsh b/platforms/wsl/winterop.zsh index afa738b..ed8c433 100644 --- a/platforms/wsl/winterop.zsh +++ b/platforms/wsl/winterop.zsh @@ -5,11 +5,6 @@ export FILE_EXPLORER="explorer.exe" # Directory Opus -alias clip="clip.exe" -alias clip="clip.exe" -alias paste='pwsh.exe -NoProfile -Command "Get-Clipboard"' -alias dark-mode='pwsh.exe -Command "dark-mode" 2>&1 /dev/null' -alias winfetch='pwsh.exe -NoProfile -Command "winfetch"' alias psw="tasklist.exe" alias killw="taskkill.exe" alias shutdownw="shutdown.exe /s /t 0" @@ -20,6 +15,8 @@ alias diskpart="diskpart.exe" alias winget="winget.exe" alias pastew='pwsh.exe -NoProfile -Command "Get-Clipboard"' alias ollama="ollama.exe" +# https://github.com/stuartleeks/wsl-notify-send +alias notify-send="wsl-notify-send.exe" # WSL open open() { diff --git a/tools/fish/conf.d/winterop.fish b/tools/fish/conf.d/winterop.fish new file mode 100644 index 0000000..35c033d --- /dev/null +++ b/tools/fish/conf.d/winterop.fish @@ -0,0 +1,13 @@ +if command -v wslpath > /dev/null + function cdw + cd (wslpath -u $argv) + end + function zw + z (wslpath -u $argv) + end + alias psw="tasklist.exe" + alias killw="taskkill.exe" + alias winget="winget.exe" + # https://github.com/stuartleeks/wsl-notify-send + alias notify-send="wsl-notify-send.exe" +end