Giter Site home page Giter Site logo

arshans_system_setup's Introduction

Arshan's System Setup

This repo contains the rc files that I use with my machines. Contains Vim shortcuts, tmux shortcuts, etc.

One-liners

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

Ubuntu Pre-requisites

I forgot vanilla Ubuntu misses git and curl!

sudo apt install git curl

Automated Setup Script:

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)" 

Macbooks with Apple CPU's

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>

Byobu Config

The configuration currently has the following stuff:

  • prefix + v vertical split
  • prefix + s horizontal split
  • ctrl + hjkl selects panes while respecting vim's panes.

Byobu Cheatsheet

  • prefix is ctrl a
  • new tab: prefix + c
  • next tab: prefix + n
  • previous tab: prefix + p
  • select between panes: ctrl + hkjl

arshans_system_setup's People

Contributors

arshankhanifar avatar arshan-ritual avatar 0xmonkee avatar

Watchers

Lucian avatar James Cloos avatar  avatar  avatar

Forkers

0xmonkee

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.