From 509d2ed1ce874389017d5df4402972108866034f Mon Sep 17 00:00:00 2001 From: steveokard Date: Wed, 26 Jul 2017 19:48:22 -0400 Subject: [PATCH] fixed .zshrc to not be bound to a username. yay whoami! --- .oh-my-zsh/custom/aliases.zsh | 1 + .zshrc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.oh-my-zsh/custom/aliases.zsh b/.oh-my-zsh/custom/aliases.zsh index 9e49288..5d07707 100644 --- a/.oh-my-zsh/custom/aliases.zsh +++ b/.oh-my-zsh/custom/aliases.zsh @@ -7,6 +7,7 @@ alias dirs="dirs -v" alias h='history' alias j='jobs -l' #shortcuts aliases +alias please="sudo !!" alias ping='ping -c 5' alias ax="chmod a+x" alias wmip="curl icanhazip.com" diff --git a/.zshrc b/.zshrc index ba29ac8..32f1dfc 100644 --- a/.zshrc +++ b/.zshrc @@ -2,7 +2,7 @@ # export PATH=$HOME/bin:/usr/local/bin:$PATH # Path to your oh-my-zsh installation. - export ZSH=/home/stev/.oh-my-zsh + export ZSH=/home/`whoami`/.oh-my-zsh # Set name of the theme to load. Optionally, if you set this to "random" # it'll load a random theme each time that oh-my-zsh is loaded.