Skip to content

Instantly share code, notes, and snippets.

@ewpratten
Created December 8, 2021 22:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ewpratten/e964c61070abac0266b4d3c2583507b9 to your computer and use it in GitHub Desktop.
Save ewpratten/e964c61070abac0266b4d3c2583507b9 to your computer and use it in GitHub Desktop.

Bootstraping remote servers with my personal configs

Installing ZSH

# With wget
sh -c "$(wget -O- https://raw.githubusercontent.com/romkatv/zsh-bin/master/install)"
# With curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/romkatv/zsh-bin/master/install)"

Barebones ZSH rc file:

# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt extendedglob
unsetopt autocd beep
bindkey -e
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/oa-homer3/125/prattene/.zshrc'

autoload -Uz compinit
compinit
# End of lines added by compinstall

# Configure the prompt
autoload -U colors && colors
export PROMPT="%{$fg[green]%}%n@%M %{$fg[cyan]%}%~ $ %{$reset_color%}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment