$ make debian
$ make redhat
$ make macos
$ make arch #install base package on arch linux
$ make install_softwares #install mostly used softwares
- git
- zsh + oh-my-zsh + completion + suggestion + theme
- vim
- tmux
- alacritty (terminal)
- nnn (file manager)
- suckless tools (dwm + dmenu + slstatus + st)
- font
- link and copy all config files
- homebrew & homecask (package manager for macos) + vimac (vimium for macos)
- Yabai (window manager for macos)
- SketchyBar (status bar for macos)
- JankyBorders (border for windows in macos)
- SketchyVim (Vim mode for macOS text fields)
- skhd (simple hotkey daemon for macos)
- telegram
- sxiv (image viewer)
- cmus (music player)
- mpv (video player)
- maim (take screenshoot)
- cava (console-based audio visualizer)
- pass (manage all passwords using gpg key)
- exa (modern version of ls)
- z (jump around by ranking folder)
Create file /etc/yum.repos.d/wandisco-git.repo with
content
[wandisco-git]
name=Wandisco GIT Repository
baseurl=http://opensource.wandisco.com/centos/7/git/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco
Then run these commands
$ sudo rpm --import http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco
$ sudo yum install git
- On MacOS, we can install iTerm2 for the main terminal
- On Linux, we can install URXVT, Xterm or Konsole for the main terminal
- Setup start command of terminal as
zsh -c ranger
in order to open terminal along with ranger - After setup font and terminal successfully on system, remember to change font on terminal to one of powerline-based font.
- Delayed lid switch action
/etc/systemd/logind.conf
...
HoldoffTimeoutSec=30s
...
- Set default font, add this to beginning of /etc/fonts/fonts.conf
<!-- Default font (no fc-match pattern) -->
<match>
<edit mode="prepend" name="family">
<string>OpenSans</string>
</edit>
</match>
# list all fonts
$ fc-list
# see current default font
$ fc-match
# see order matching of fonts
$ fc-match -s "San" | less
- Install vimidea plugin, make sure ~/.ideavimrc is copied
- Install referencer plugin, change keyboard shortcut for easier to type
- Create idea bin for vim to interact with IDEA, go to tools -> create command-line launcher
- Clone pass repository from github to ~/.password-store
- Export gpg-key from old machine (key-id from
gpg --list-keys | grep -n1 topcbl
)
gpg --export-secret-keys key-id > private.key
- Import gpg-key to new machine
gpg --import private.key
- Trust the new key
gpg --edit-key key-id
gpg> trust
- To change passphrase for the key
```bash
gpg --change-passphrase topcbl