-
Notifications
You must be signed in to change notification settings - Fork 0
/
wsl.conf.yaml
23 lines (20 loc) · 1.09 KB
/
wsl.conf.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
- clean: ['~']
- defaults:
link:
create: true
relink: false
force: false
shell:
stdin: true
stdout: true
stderr: true
quiet: true
- link:
~/bin/choco:
path: /mnt/c/ProgramData/chocolatey/bin/choco.exe
- shell:
- description: Linking Windows home to ~/winhome...
command: ([[ -f ~/.winuser ]] || (read -p 'Your Windows Username? ' WINUSER && echo "${WINUSER}" > ~/.winuser )) && WINHOME="/mnt/c/Users/$(cat ~/.winuser)/" && [[ ! -L ~/winhome ]] && ln -s $WINHOME ~/winhome
- description: Configuring wsltty (mintty for WSL)...
command: ([[ -f ~/.winuser ]] && WINUSER=$(cat ~/.winuser) && WSLTTY=/mnt/c/Users/${WINUSER}/AppData/Roaming/wsltty/ && mkdir -p $WSLTTY/themes && cp --dereference --no-clobber mintty/minttyrc $WSLTTY/config && cp --dereference --no-clobber mintty/themes/mintty-colors-solarized/.minttyrc.dark $WSLTTY/themes/solarized-dark && cp --dereference --no-clobber mintty/themes/mintty-colors-solarized/.minttyrc.light $WSLTTY/themes/solarized-light)
- [touch ~/.sudo_as_admin_successful , Supressing sudo message...]