This package helps set up a new work machine. It installs important apt and pip3 packages, sets up software, as well as tmux and vim. Some code was reused from https://github.com/supersergiy/new_machine_setup with permission.
chmod +x setup
./setup
--dockeralso installs Docker on the machine--rebootreboots the machine after running all of the scripts
- pip3
- zip + unzip
- wget + curl
- tmux
- git
- screen
- htop
- vim
- iputils
- iputils-ping
- nfs-common
- Java (default-jre)
- Docker (optional)
- Jupyter Lab
- venv
- H5py
- numpy
- requests
- PyYAML
- Pillow
- pytest
- Prefix changed to
Control + a. Recommend to change your CAPS LOCK key to Control. Use prefix + character as a command (e. g., prefix +xcloses a window) - Use
-to split a window horizontally and\or|to split vertically - Switch between windows with arrow keys or mouse
xorbackspacecloses a window,delstops tmux immediatelynopens a new tmux tab
-
git- useful aliases for git -
zsh-autosuggestions- autosuggestions for commands. The current config is Control + Space in tmux only, and right arrow key in regular terminal. -
sudo- pressesctwice to addsudoto the last command you typed. -
web-search- typegoogle *term*in your terminal to search for the term online. Also works for other search engines:yahoo *term*. -
copydir,copyfile.copybuffer-copydircopies the current directory path.copyfile*file* copies the contents of a file,copybufferlets you useControl + oto copy the current command. -
dirhistory- useAlt + left/right arrowto navigate folders.Alt + up arrowreturns you to the home directory. -
history-hprints the history of commands.hs *term*searches through the history with grep.hsi *term*does the same but it's not case sensitive. -
json tools-pp_jsonprints the json in a nice format.is_jsonchecks if the argument is in valid json format.urlencode_jsonreturns a URL-encoded string for the json,urldecode_jsonretuns json from a URL-encoded string -
z-zdisplays your most recent directories. -
bgnotify- useful for long tasks, notifies you when the task is done. -
vscode-vcsopens the current folder in Visual Studio.vsca *dir*adds the directory to the last active window. -
command-not-found- suggests packages to be installed if a package is not found.