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
--docker
also installs Docker on the machine--reboot
reboots 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 +x
closes a window) - Use
-
to split a window horizontally and\
or|
to split vertically - Switch between windows with arrow keys or mouse
x
orbackspace
closes a window,del
stops tmux immediatelyn
opens 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
- pressesc
twice to addsudo
to 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
-copydir
copies the current directory path.copyfile
*file* copies the contents of a file,copybuffer
lets you useControl + o
to copy the current command. -
dirhistory
- useAlt + left/right arrow
to navigate folders.Alt + up arrow
returns you to the home directory. -
history
-h
prints 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_json
prints the json in a nice format.is_json
checks if the argument is in valid json format.urlencode_json
returns a URL-encoded string for the json,urldecode_json
retuns json from a URL-encoded string -
z
-z
displays your most recent directories. -
bgnotify
- useful for long tasks, notifies you when the task is done. -
vscode
-vcs
opens 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.