My Shell und vim Profiles with automatic installation
Optional recommended software before setup:
apt install vim zsh screen zoxide
mkdir -p ~/.config;
git clone [email protected]:possi/jas-profile.git ~/.config/jas-profile;
bash ~/.config/jas-profile/setup.sh install-cloned;
Quick-Setup:
curl -s https://raw.githubusercontent.com/possi/jas-profile/master/setup.sh | bash; # or
wget -O - https://raw.githubusercontent.com/possi/jas-profile/master/setup.sh | bash; # or
lnyx -source https://raw.githubusercontent.com/possi/jas-profile/master/setup.sh | bash;
Optional configurations:
~/.config/jas-profile/setup.sh zsh
~/.config/jas-profile/setup.sh extras-install
- Consolas NF:
(Important: Use Right-Click [UAC] Install for all Users)
md in md out copy $Env:WINDIR/Fonts/consola*.ttf in/ docker run --rm -v ${PWD}/in:/in -v ${PWD}/out:/out nerdfonts/patcher -c
- Terminal-Size: 144 x 48
- Background...
24,24,24
%APPDATA%\wsltty\config
BoldAsFont=no
Font=Consolas NF
Columns=144
Rows=48
Term=xterm-256color
CursorType=block
ThemeFile=jas-profile
# File jas-profile.minttyrc should be copied to %APPDATA%\wsltty\themes
BackgroundColour=24,24,24
%LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json
{
"actions":
[
{
"command": "scrollDownPage",
"keys": "shift+pgdn"
},
{
"command": "unbound",
"keys": "ctrl+shift+pgup"
},
{
"command": "unbound",
"keys": "ctrl+shift+pgdn"
},
{
"command": "scrollUpPage",
"keys": "shift+pgup"
},
// ...
],
// ...
"initialCols": 160,
"initialRows": 48,
"profiles":
{
"defaults":
{
"bellStyle":
[
"audible",
"taskbar"
],
"closeOnExit": "always",
"font":
{
"face": "Consolas Nerd Font",
"size": 10.0
}
},
// ...
},
"schemes":
[
// ...
{
"background": "#181818",
"black": "#0C0C0C",
"blue": "#217DBB",
"brightBlack": "#404040",
"brightBlue": "#3498DB",
"brightCyan": "#40FFFF",
"brightGreen": "#2ECC71",
"brightPurple": "#9B59B6",
"brightRed": "#E74C3C",
"brightWhite": "#DFDFDF",
"brightYellow": "#F1C40F",
"cursorColor": "#BFBFBF",
"cyan": "#14888F",
"foreground": "#FFFFFF",
"green": "#25A25A",
"name": "Exa Mintty",
"purple": "#804399",
"red": "#D62C1A",
"selectionBackground": "#BABABA",
"white": "#CCCCCC",
"yellow": "#C29D0B"
}
]
}
Update all dependencies:
git submodule -q foreach git pull origin master
- Use
c
for Windows Home-Directory: cmd:setx WSLENV USERPROFILE/up
- Disable LC_ALL-Warning on SSH: Modify /etc/ssh/ssh_config and remove
SendEnv LANG LC_*
- Mount /mnt/c, etc with metadata but not with case sensitive
/etc/wsl.conf
Source: https://devblogs.microsoft.com/commandline/per-directory-case-sensitivity-and-wsl/# https://blogs.msdn.microsoft.com/commandline/2018/02/07/automatically-configuring-wsl/ # [automount] enabled = true # root = /mnt/ options = "metadata" case = off # mountFsTab = true
Reason: yarnpkg/yarn#5813 - nvm Performance-Fix and Bun-compatibility: nvm-sh/nvm#539 (comment)