mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
Sync from WSL
This commit is contained in:
parent
ee4b1ba440
commit
ed7d66fce1
6 changed files with 40 additions and 8 deletions
|
|
@ -2,10 +2,12 @@
|
|||
# ln -s $DOTFILES/wsl/.zshrc $XDG_CONFIG_HOME/zsh/.zshrc
|
||||
### Variables ###
|
||||
|
||||
export IS_WSL=true
|
||||
export DOTFILES="$HOME/.dotfiles"
|
||||
for file in $DOTFILES/zsh/*.zsh; do
|
||||
source $file
|
||||
done
|
||||
source $DOTFILES/wsl/winterop.zsh
|
||||
export ARCHFLAGS="-arch x86_64"
|
||||
|
||||
# Absolute navigation
|
||||
|
|
@ -77,4 +79,4 @@ export VCPKG_ROOT=~/vcpkg
|
|||
alias pac="sudo pacman"
|
||||
alias paci="sudo pacman -S"
|
||||
alias pacr="sudo pacman -R"
|
||||
alias pacu="sudo pacman -Ss"
|
||||
alias pacu="sudo pacman -Syu"
|
||||
|
|
|
|||
15
wsl/winterop.zsh
Normal file
15
wsl/winterop.zsh
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
alias clip="clip.exe"
|
||||
alias xclip="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"
|
||||
alias rebootw="shutdown.exe /r /t 0"
|
||||
alias ipconfig="ipconfig.exe"
|
||||
alias netstatw="netstat.exe"
|
||||
alias diskpart="diskpart.exe"
|
||||
alias winget="winget.exe"
|
||||
alias pastew='pwsh.exe -NoProfile -Command "Get-Clipboard"'
|
||||
alias ollama="ollama.exe"
|
||||
Loading…
Add table
Add a link
Reference in a new issue