This repo contains the rc files that I use with my machines. Contains Vim shortcuts, tmux shortcuts, etc.
Docker:
url="https://raw.githubusercontent.com/ArshanKhanifar/arshans_system_setup/master/dist/docker_setup.sh"
curl -fsSL $url | bash
Nvidia:
url="https://raw.githubusercontent.com/ArshanKhanifar/arshans_system_setup/master/dist/nvidia_setup.sh"
curl -fsSL $url | bash
Python:
url="https://raw.githubusercontent.com/ArshanKhanifar/arshans_system_setup/master/dist/python_setup.sh"
curl -fsSL $url | bash
Profile Setup:
url="https://raw.githubusercontent.com/ArshanKhanifar/arshans_system_setup/master/dist/profile_setup.sh"
curl -fsSL $url | bash -s -- hello
Note: system script isn't really idempotent, if u wanna re-run it:
rm -rf .vim .vimrc .oh-my-zsh .fzf arshans_system_setup
Full Setup:
url="https://raw.githubusercontent.com/ArshanKhanifar/arshans_system_setup/master/dist/full_setup.sh"
curl -fsSL $url | bash -s -- hello
I forgot vanilla Ubuntu misses git
and curl
!
sudo apt install git curl
Installs
- oh_my_zsh
- fzf
- fzf.vim
- my vimrc files
- my vundle plugins
- my vim.plug plugins
bash -c "$(curl -fsSL https://raw.githubusercontent.com/ArshanKhanifar/arshans_system_setup/master/system_setup.sh)"
If you want interactive mode (asks for passwords), set the INTERACTIVE
variable
to true
:
INTERACTIVE=true bash -c "$(curl -fsSL https://raw.githubusercontent.com/ArshanKhanifar/arshans_system_setup/master/system_setup.sh)"
Update (2024-04-02): Homebrew is now supported on Macs so the automated script above
should work just fine.
Homebrew
is not yet supported on ARM macs, so you'd have to install it using Rosetta:
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
And to install packages:
arch -x86_64 brew install <package>
The configuration currently has the following stuff:
prefix + v
vertical splitprefix + s
horizontal splitctrl + hjkl
selects panes while respecting vim's panes.
prefix
isctrl a
- new tab:
prefix + c
- next tab:
prefix + n
- previous tab:
prefix + p
- select between panes:
ctrl + hkjl