Linux and desktop configuration and setup script.
git clone [email protected]:rickliujh/dotfiles.git
bash setup.sh -m
show menu.bash setup.sh -a
setup all things.bash setup.sh -i
install all packages and languages.bash setup.sh -l
setup symlinks only.bash setup.sh -b
backup current dotfiles (only those files that has same name in config dir in this repo).bash setup.sh {{func_name}}
you can actually call any function that declared in shell file in root folder by putting its name after setup.sh separated by space as long as you know what you're doing.
- understanding fzf and its config
understanding bashrc- understanding zshrc with oh-my-zsh
setting up tmux- understanding eza and its config and how to integrating with zsh(require 3)
- ssh port forward script for remote development
- 2KAbhishek/dots2k: Passionately crafted for CLI lovers (github.com)
- felipecrs/dotfiles: Bootstrap your Ubuntu in a single command! (github.com)
Combining dotfiles and Dockerfiles in the dockerfiles
directory enable you pioneering your project with excellent remote development environment
# First build your image with your identity
docker build -f=nodedev.Dockerfile -t=nvimnode:v0.1 --build-arg=EMAIL={{YOUR_EMAIL}} --build-arg=NAME={{YOUR_NAME}} --build-arg=PASSWD={{YOUR_PASSWD}} .
# Second start a container by mount your project into docker or you can use git to download later on
docker run -v ~/workspace/{{YOUR-PROJECT}}:/root/workspace/{{YOUR-PROJECT}} -p 8654:22 --name {{IMAGE_NAME}} -d -it nvimnode:v0.1
# use ssh to start a tmux session in the very first time
ssh user@<hostname> -p 8654 -t "tmux new -s {{TMUX_SESSION}}"
# use ssh to attach a tmux session next time
ssh user@<hostname> -p 8654 -t "tmux a -t {{TMUX_SESSION}}"
# enjoy your journey
Note
Don't forget to setup your ssh key in the very first time. The script will not setup it for you for security reason.