From 7e0762ff295ec574cf1e1006c02e32ca86fb7190 Mon Sep 17 00:00:00 2001 From: Davide Depau Date: Mon, 9 Sep 2019 04:28:43 +0200 Subject: [PATCH] Remove explicit Windows paths --- shcrt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shcrt b/shcrt index 3be1150..10d0367 100755 --- a/shcrt +++ b/shcrt @@ -42,7 +42,7 @@ export SHELL_LIBRARY_PATH="$SHELL_LIBRARY_PATH:$DIR/easybashgui/lib" export PATH="$PATH:$DIR/easybashgui/src" source easybashgui function wsl_win_var { - /mnt/c/Windows/System32/cmd.exe /C "echo $1" | sed 's/\r//g' + cmd.exe /C "echo $1" | sed 's/\r//g' } function win_path_to_wsl { @@ -55,7 +55,7 @@ function win_path_to_wsl { function copy_to_clipboard { if is_wsl; then - cat - | /mnt/c/Windows/System32/clip.exe + cat - | clip.exe elif [[ "$WAYLAND_DISPLAY" != "" ]] && which wl-copy > /dev/null; then cat - | wl-copy elif which xclip > /dev/null; then