Skip to content

ltupin/Configuration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terminal and Shell

Install brew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install iterm2:

brew update
brew install --cask iterm2

In iterm2, install oh-my-zsh:

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

# This plugin is for syntax highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

# This plugin is for autosuggestion
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions

# Zinit is a plugin manager for zsh
# sh -c "$(curl -fsSL https://raw.githubusercontent.com/zdharma/zinit/master/doc/install.sh)"

git clone https://github.com/ltupin/Configuration
cd  Configuration
cp zshrc ~/.zshrc

Install Nerd Fonts:

brew install --cask font-hack-nerd-font

Import Default.json file:

drawing

Install starship:

brew install starship
eval "$(starship init zsh)"

Editors

Install Vim Airline:

curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

cp vimrc ~/.vimrc
brew install --cask visual-studio-code
Description Action
Preview markdown files ⇧⌘V
Open extensions view ⇧⌘X
Column selection with mouse Shift+Option
Column selection Shift+Option+Cmd and arrow keys

Install Kubernetes related packages

Podman:
Podman is a daemonless container engine for developing, managing, and running OCI Containers on your Linux System.

brew install podman && \
alias docker=podman &&\
podman machine init && podman machine start

Krew:
Krew is the plugin manager for kubectl command-line tool.

(
  set -x; cd "$(mktemp -d)" &&
  OS="$(uname | tr '[:upper:]' '[:lower:]')" &&
  ARCH="$(uname -m | sed -e 's/x86_64/amd64/' -e 's/\(arm\)\(64\)\?.*/\1\2/' -e 's/aarch64$/arm64/')" &&
  curl -fsSLO "https://github.com/kubernetes-sigs/krew/releases/latest/download/krew.tar.gz" &&
  tar zxvf krew.tar.gz &&
  KREW=./krew-"${OS}_${ARCH}" &&
  "$KREW" install krew
)

# Add in .zshrc file:
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"

kubectl
kubectx
minikube
helm
k9s
kube-ps1

brew install \
	kubectl kubectx minikube helm k9s kube-ps1

Install other packages

Description Action
Creates a new window Ctrl-b c
Go to next window Ctrl-b n
Go to previous window Ctrl-b p
Split window top/bottom Ctrl-b "
Split window left/right Ctrl-b %
Rearrange windows in columns Ctrl-b Alt-1
Rearrange windows in rows Ctrl-b Alt-2
Navigate to other windows Ctrl-b arrow keys
Detach session Ctrl-b d
Reattach to session tmux attach

Remote terminal application that allows roaming, supports intermittent connectivity, and provides intelligent local echo and line editing of user keystrokes.

gh is GitHub on the command line. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already working with git and your code.

A simple terminal UI for git commands, written in Go with the gocui library.

The AWS Command Line Interface (CLI) is a unified tool to manage your AWS services. With just one tool to download and configure, you can control multiple AWS services from the command line and automate them through scripts.

This is htop, a cross-platform interactive process viewer. It is a text-mode application (for console or X terminals) and requires ncurses.

Display a tree of processes

bat supports syntax highlighting for a large number of programming and markup languages:

It's an interactive Unix filter for command-line that can be used with any list; files, command history, processes, hostnames, bookmarks, git commits, etc.

Rambox is a workspace browser that allows you to manage as many applications as you want, all in one place. It is perfect for people who care about productivity and work with many applications, both business and personal.

brew install \
	gh lazygit \
	tmux mosh awscli rambox htop pstree bat inav fzf

Inspiration from:

https://medium.com/@jeantimex/how-to-configure-iterm2-and-vim-like-a-pro-on-macos-e303d25d5b5c

About

Shell configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published