Skip to content

Commit

Permalink
chore(files): updated dot files
Browse files Browse the repository at this point in the history
  • Loading branch information
bretonics committed Feb 28, 2022
1 parent 16b5b3f commit cca61b6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 39 deletions.
43 changes: 6 additions & 37 deletions files/bash/.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ if [ -f ~/.bash_functions ]; then
. ~/.bash_functions
fi

# Aliases
source ~/.alias

# Completions
case "${OSTYPE}" in
darwin*)
# All Bash Completions
Expand All @@ -29,7 +33,7 @@ case "${OSTYPE}" in
esac

#-----------------------------------------------------------------------------------------------
# USER SPECIFIC
# PROMPT

# Starship Prompt
eval "$(starship init bash)"
Expand All @@ -43,40 +47,5 @@ HISTFILESIZE=99999999
HISTCONTROL=ignoreboth # both ignorespace and ignoredups
HISTTIMEFORMAT="[%m/%d/%y %T] " # timestamp format

#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# ALIASES
case "${OSTYPE}" in
darwin*)
alias ls="ls -GFh"
alias ll="ls -laGFh"
;;
linux*)
alias ls="ls -GFh --color=yes"
alias ll="ls -GFhla --color=yes"
;;
esac

alias cp="cp -i"
alias rm="rm -i"
alias mv="mv -i"
alias vi="vim"

# Beautify $PATH
alias path='echo $PATH | tr -s ":" "\n"'

# Git
alias gs="git status"
alias gc="git commit"

# Remote Access
alias mini=""
alias server=""
alias macbook=""
alias bretonics=""
alias node0=""
alias node1=""
alias node2=""
alias node3=""

#-------------------------------------------------------------------------------
# GLOBAL
# OTHER
1 change: 1 addition & 0 deletions files/shell/.alias
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ alias vi="vim"

# Beautify $PATH
alias path='echo $PATH | tr -s ":" "\n"'
alias path='echo $FPATH | tr -s ":" "\n"'

# Git
alias gs="git status"
Expand Down
4 changes: 2 additions & 2 deletions files/z/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# ZSH

# Oh My Zsh Installation
if [ -d "/Users/${USER}/.oh-my-zsh" ]; then
source "/Users/${USER}/.omzsh"
if [ -d "${HOME}/.oh-my-zsh" ]; then
source "${HOME}/.omzsh"
unset LESS
fi

Expand Down

0 comments on commit cca61b6

Please sign in to comment.