From 23f6ee058dcc99355ffde2fc05283c40e2985e06 Mon Sep 17 00:00:00 2001 From: agryphus Date: Tue, 9 Jan 2024 11:25:26 -0500 Subject: [PATCH] WSL niceties --- .config/zsh/.zshenv | 1 - .config/zsh/.zshrc | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.config/zsh/.zshenv b/.config/zsh/.zshenv index 81c9fce..6ddc56e 100644 --- a/.config/zsh/.zshenv +++ b/.config/zsh/.zshenv @@ -54,7 +54,6 @@ export TEXMFVAR="$XDG_CACHE_HOME/texlive/texmf-var" export TLDR_CACHE_DIR="$XDG_CACHE_HOME/tldr" export TMUX_TMPDIR="$XDG_RUNTIME_DIR" export VIMINIT='let $MYVIMRC = !has("nvim") ? "$XDG_CONFIG_HOME/vim/vimrc" : "$XDG_CONFIG_HOME/nvim/init.lua" | so $MYVIMRC' -export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" export XINITRC="$XDG_CONFIG_HOME/X11/xinitrc" export XSERVERRC="$XDG_CONFIG_HOME/X11/xserverrc" diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 72e46c8..afb108e 100755 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -49,6 +49,10 @@ preexec() { echo -ne '\e[5 q' ;} # Use beam shape cursor for each new prompt. # The rice repo alias config='git --git-dir $HOME/repos/dotfiles/ --work-tree=$HOME' +# WSL +alias wclip='/mnt/c/Windows/System32/clip.exe' +alias wclipget='/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe -c Get-Clipboard' + alias s='sudo ' # Allow aliases to be passed to sudo alias pypr='sh -c pypr' alias asciiquarium='asciiquarium -t'