Skip to content

yaowenxu/envfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Environment Files

Linux environment settings

Homebrew

  • MacOS or Linux
  • https://brew.sh/
  • eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"

zsh

### clone
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

### vim ~/.zshrc
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)

tmux/tpm

  • tmux : a terminal multiplexer.
  • tpm : Tmux Plugin Manager.
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
  • Put this at the bottom of ~/.tmux.conf
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-cpu'
set -g @plugin 'tmux-plugins/tmux-sensible'

# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'github_username/plugin_name#branch'
# set -g @plugin '[email protected]:user/plugin'
# set -g @plugin '[email protected]:user/plugin'

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
  • type this in terminal if tmux is already running : tmux source ~/.tmux.conf

Misc Tools

  • htop/gtop/btop/dstat/glances
  • iperf3/slurm/gping
  • tmux/tpm/tig
  • fzf/fio