Inside tmux, check your terminal type:
echo $TERM
If it's something like screen or screen-256color, try changing it to:
export TERM=xterm-256color
If that works, add it to your ~/.bashrc / ~/.vimrc file for persistency
| {"errorString":"EXFIL_FMT1","errorCode":"1"} |
| .7z | |
| .csv | |
| .gif | |
| .midi | |
| .png | |
| .tif | |
| .zip | |
| .avi | |
| .doc | |
| .gz |
| .. | |
| ../ | |
| /./ | |
| /.// | |
| ///// | |
| ....// | |
| ....\/ | |
| /%2e/ | |
| /%2e%2e/ | |
| /%2e%2e/%2e%2e/ |
| # check if clipboard support is enabled | |
| vim --version | grep clipboard | |
| # output = "-clipboard"? | |
| # proceed | |
| # ubuntu/deb | |
| sudo apt install vim-gtk3 | |
| # fedora |
| sudo vi /etc/hostname | |
| <OLD> --> wsl | |
| sudo vi /etc/hosts | |
| :%s/<OLD>/wsl/g | |
| sudo vi /etc/wsl.conf | |
| [network] | |
| hostname=wsl | |
| generateHosts=false |
| wget https://go.dev/dl/go1.23.6.linux-amd64.tar.gz | |
| rm -rf /usr/local/go && tar -C /usr/local -xzf go1.23.6.linux-amd64.tar.gz | |
| vi ~/.zshrc | |
| export GOPATH=/usr/local/go | |
| export GOBIN=/usr/local/go/bin | |
| export PATH=$PATH:$GOBIN | |
| source ~/.zshrc | |
| # perm issues |
Inside tmux, check your terminal type:
echo $TERM
If it's something like screen or screen-256color, try changing it to:
export TERM=xterm-256color
If that works, add it to your ~/.bashrc / ~/.vimrc file for persistency
| #1 install latest git for windows | |
| https://github.com/git-for-windows/git/releases/tag/v2.47.1.windows.2 | |
| #2 set gcm as the git credential helper | |
| git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/bin/git-credential-manager.exe" | |
| #3 create symlink in .zshrc | |
| if [ ! -e /usr/local/bin/git-credential-manager ]; then | |
| sudo ln -s "/mnt/c/Program Files/Git/mingw64/bin/git-credential-manager.exe" /usr/local/bin/git-credential-manager | |
| fi |
| #1 install coc | |
| curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ | |
| https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
| #2 install nodejs and npm | |
| sudo apt update -y && sudo apt install nodejs npm - | |
| #3 open ~/.vimrc and add the following | |
| call plug#begin('~/.vim/plugged') | |
| Plug 'neoclide/coc.nvim', {'branch': 'release'} |
| #1 | |
| sudo apt update && sudo apt install tmux -y | |
| #2 | |
| git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm | |
| #3 | |
| git clone https://github.com/dracula/tmux ~/.tmux/plugins/dracula | |
| #4 meh |