Skip to content

Commit

Permalink
✨ update
Browse files Browse the repository at this point in the history
  • Loading branch information
w3cj committed Feb 28, 2024
1 parent bb82da2 commit a91d26c
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 21 deletions.
20 changes: 0 additions & 20 deletions .bash_profile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
HOST_NAME=minima

source ~/.nvm/nvm.sh
nvm use stable
shopt -s autocd
Expand Down Expand Up @@ -37,8 +35,6 @@ PROMPT_COMMAND=print_before_the_prompt
PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"
PS1="$EMOJI >"

fortune | cowsay -f tux

function mkcd()
{
mkdir $1 && cd $1
Expand All @@ -47,31 +43,15 @@ function mkcd()
# -------
# Aliases
# -------
alias 🍺="git checkout -b drunk"
alias a='code .'
alias c='code .'
alias reveal-md="reveal-md --theme night --highlight-theme hybrid --port 1337"
alias ns='npm start'
alias start='npm start'
alias nr='npm run'
alias run='npm run'
alias nis='npm i -S'
alias l="ls" # List files in current directory
alias ll="ls -al" # List all files in current directory in long list format
alias o="open ." # Open the current directory in Finder

# ----------------------
# Git Aliases
# ----------------------
alias ga='git add'
alias gaa='git add .'
alias gaaa='git add -A'
alias gc='git commit'
alias gcm='git commit -m'
alias gd='git diff'
alias gi='git init'
alias gl='git log'
alias gp='git pull'
alias gpsh='git push'
alias gss='git status -s'
alias gs='echo ""; echo "*********************************************"; echo -e " DO NOT FORGET TO PULL BEFORE COMMITTING"; echo "*********************************************"; echo ""; git status'
4 changes: 3 additions & 1 deletion .gitconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[user]
name = w3cj
email = cj@null.computer
name = w3cj
[core]
editor = nano
[init]
defaultBranch = main
27 changes: 27 additions & 0 deletions .zshrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
export ZSH="$HOME/.oh-my-zsh"

ZSH_THEME="robbyrussell"
CASE_SENSITIVE="true"
ENABLE_CORRECTION="true"

plugins=(git)

source $ZSH/oh-my-zsh.sh

export EDITOR='nano'

# -------
# Aliases
# -------
alias l="ls" # List files in current directory
alias ll="ls -al" # List all files in current directory in long list format
alias o="open ." # Open the current directory in Finder

# ----------------------
# Git Aliases
# ----------------------
alias gaa='git add .'
alias gcm='git commit -m'
alias gpsh='git push'
alias gss='git status -s'
alias gs='echo ""; echo "*********************************************"; echo -e " DO NOT FORGET TO PULL BEFORE COMMITTING"; echo "*********************************************"; echo ""; git status'

0 comments on commit a91d26c

Please sign in to comment.