Linux
curl -fLo yadm https://github.com/TheLocehiliosan/yadm/raw/master/yadm && chmod a+x yadm
MacOS
brew install yadm
yadm inherits all of Git’s features.
yadm clone https://github.com/cgjosephlee/dotfiles
Nord, background = '#212327'.
13pt MesloLGS Nerd Font (patched Menlo, LGS: line gap small)
brew tap homebrew/cask-fonts
brew install font-meslo-lg-nerd-font
Boxy: Monokai
{
"theme": "Boxy Monokai.sublime-theme",
"theme_button_rounded": true,
"theme_find_panel_size_xxs": true,
"theme_sidebar_size_xs": true,
}
Default Monokai
- AlignTab
- Markdown Preview
- MarkdownTOC (usage)
- SideBarEnhancements
Installation
git clone --depth=1 https://github.com/Bash-it/bash-it.git ~/.bash_it
~/.bash_it/install.sh
Uninstallation
cd $BASH_IT && ./uninstall.sh
cd $HOME && rm -rf $BASH_IT
A delightful community-driven framework.
export PS1='\[\e[1;33m\]$PWD/ \[\e[0m\]\n\u@\h@\t $ '
behaves like
/to/your/path
User@Host@Time $
chsh -s /bin/zsh
Without root
# install from source
wget -O zsh.tar.xz https://sourceforge.net/projects/zsh/files/latest/download
tar Jxf zsh.tar.xz
cd zsh-<version>
./configure --prefix=$HOME/.local
make && make install
# activate zsh in , e.g. .bashrc
exec zsh
First install
sh -c "$(curl --fail --show-error --silent --location https://raw.githubusercontent.com/zdharma-continuum/zinit/HEAD/scripts/install.sh)"
A fast drop-in replacement for Powerlevel9k. For color customization, all supported colors are (ref):
# 256 colors
for code ({000..255}) print -P -- "$code: %F{$code}This is how your text would look like%f"
# true color
awk 'BEGIN{
s="/\\/\\/\\/\\/\\"; s=s s s s s s s s;
for (colnum = 0; colnum<77; colnum++) {
r = 255-(colnum*255/76);
g = (colnum*510/76);
b = (colnum*255/76);
if (g>255) g = 510-g;
printf "\033[48;2;%d;%d;%dm", r,g,b;
printf "\033[38;2;%d;%d;%dm", 255-r,255-g,255-b;
printf "%s\033[0m", substr(s,colnum+1,1);
}
printf "\n";
}'
An alternative of zsh-syntax-highlighting.
fast-theme safari
Zsh autocompletes for plenty bioinfomatic tools.
Just download and enjoy!
# for linux
curl -fLo nvim https://github.com/neovim/neovim/releases/download/stable/nvim.appimage
chmod +x nvim
A Neovim setup powered by lazy.nvim. All plugins should be installed automatically on first startup.
https://nodejs.org/en/download/
VERSION=v18.15.0
DISTRO=linux-x64
PREFIX=$HOME/local
wget https://nodejs.org/dist/$VERSION/node-$VERSION-$DISTRO.tar.xz
tar -xJf node-$VERSION-$DISTRO.tar.xz -C $PREFIX
ln -s $PREFIX/node-$VERSION-$DISTRO/bin/* $PREFIX/bin
:Mason
- https://github.com/vscode-neovim/vscode-neovim
- https://github.com/cgjosephlee/dotfiles/blob/master/.config/nvim/lua/plugins/vscode.lua
- https://github.com/SpaceVim/SpaceVim
- https://github.com/NvChad/NvChad
- https://github.com/LunarVim/LunarVim
- https://github.com/LazyVim/LazyVim
- https://github.com/ayamir/nvimdots
Preserved in case nvim is not available.
Install
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
then
:PlugInstall
- Install libevent
- Install tmux
./configure CFLAGS="-I$HOME/.local/include" LDFLAGS="-L$HOME/.local/lib" --prefix=$HOME/.local
make && make install
https://github.com/nelsonenzo/tmux-appimage/releases
curl -fLo tmux https://github.com/nelsonenzo/tmux-appimage/releases/download/tmux3.1b/tmux-3.1b-x86_64.AppImage
chmod +x tmux
Install
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
and configure .tmux.conf
(see readme of tpm).
Install plugins in tmux:
prefix
+ I : installs new plugins from GitHub or any other git repository on the plugin listprefix
+ U : updates plugin(s)prefix
+ alt + u : remove/uninstall plugins not on the plugin list (workaround for macOS)
or via command line (ref):
# installing
~/.tmux/plugins/tpm/bin/install_plugins
# updating
~/.tmux/plugins/tpm/bin/update_plugins all
~/.tmux/plugins/tpm/bin/update_plugins tmux-sensible
# removing
~/.tmux/plugins/tpm/bin/clean_plugins