Run neovim inside FHS compliant environment
This commit is contained in:
parent
08b05f7802
commit
ef05b269e3
1 changed files with 4 additions and 8 deletions
|
|
@ -18,14 +18,10 @@ alias spotify='spotify-launcher'
|
||||||
alias spotify-launcher='dlkiller spotify-launcher'
|
alias spotify-launcher='dlkiller spotify-launcher'
|
||||||
alias zoom='dlkiller zoom'
|
alias zoom='dlkiller zoom'
|
||||||
alias tor='torbrowser-launcher'
|
alias tor='torbrowser-launcher'
|
||||||
|
if [ ! -z "$(grep nixos /etc/os-release)" ]; then
|
||||||
# Some wsl stuff
|
# NixOS specific aliases
|
||||||
alias clip=/mnt/c/Windows/System32/clip.exe
|
alias nvim='fhs-run nvim'
|
||||||
alias vcxsrv='/mnt/c/Program\ Files/VcXsrv/vcxsrv.exe :0 -clipboard -wgl -keyhook'
|
fi
|
||||||
alias wsl_startx="export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0.0 && \
|
|
||||||
export LD_LIBRARY_PATH=/usr/lib/wsl/lib && \
|
|
||||||
export LIBGL_ALWAYS_SOFTWARE=1 && \
|
|
||||||
. ~/.config/X11/xinitrc"
|
|
||||||
|
|
||||||
# Print out all colors
|
# Print out all colors
|
||||||
alias colors='for i in {0..255}; do print -Pn "%K{$i} %k%F{$i}${(l:3::0:)i}%f " ${${(M)$((i%6)):#3}:+$"\n"}; done'
|
alias colors='for i in {0..255}; do print -Pn "%K{$i} %k%F{$i}${(l:3::0:)i}%f " ${${(M)$((i%6)):#3}:+$"\n"}; done'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue