From 91684f40195af8a899f92ba02e46d1f3f46bbaa2 Mon Sep 17 00:00:00 2001 From: ekenalt <ekenalt@gmail.com> Date: Tue, 31 Oct 2023 12:05:03 -0500 Subject: [PATCH] added wsl support and separate .zsh_aliases --- runcoms/zsh_aliases | 1 + runcoms/zsh_wsl | 8 ++++++++ runcoms/zshrc | 5 +++++ 3 files changed, 14 insertions(+) create mode 100644 runcoms/zsh_aliases create mode 100644 runcoms/zsh_wsl diff --git a/runcoms/zsh_aliases b/runcoms/zsh_aliases new file mode 100644 index 00000000..fc17291d --- /dev/null +++ b/runcoms/zsh_aliases @@ -0,0 +1 @@ +alias rmig='git ls-files -io --exclude-from=.gitignore | xargs -d "\n" rm -rf' diff --git a/runcoms/zsh_wsl b/runcoms/zsh_wsl new file mode 100644 index 00000000..fadc934e --- /dev/null +++ b/runcoms/zsh_wsl @@ -0,0 +1,8 @@ +path+=( + '/mnt/c/Windows/System32' + '/mnt/c/Windows' + '/mnt/c/Windows/System32/WindowsPowerShell/v1.0/' +) + +alias xx='explorer.exe' +alias vc='cmd.exe /c code . &' diff --git a/runcoms/zshrc b/runcoms/zshrc index 039b882d..b75b799b 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -11,3 +11,8 @@ if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then fi # Customize to your needs... + +#SOURCE_ZSH_WSL + +. ~/.zsh_aliases +