Skip to content

Commit

Permalink
Completed update to Arch
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Eksteen committed Sep 21, 2020
1 parent a4d9e6d commit d094640
Show file tree
Hide file tree
Showing 21 changed files with 355 additions and 1,568 deletions.
1 change: 1 addition & 0 deletions .Xdefaults
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Xcursor.theme: Simp1e
22 changes: 19 additions & 3 deletions .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export OSH=/home/eksoverzero/.oh-my-bash

# 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-bash is loaded.
OSH_THEME="agnoster"
OSH_THEME="90210"

# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
Expand Down Expand Up @@ -115,14 +115,30 @@ source $OSH/oh-my-bash.sh
export EDITOR=vim
export CURRENT_UID="$(id -u):$(id -g)"

if [ -f $HOME/.bashrc_secrets ]; then
. $HOME/.bashrc_secrets
export INTERNAL_DISPLAY=eDP1
export PRIMARY_MONITOR=DP1

if [ -d "$HOME/.bin" ] ;
then PATH="$HOME/.bin:$PATH"
fi

if [ -d "$HOME/.local/bin" ] ;
then PATH="$HOME/.local/bin:$PATH"
fi

if [ -f $HOME/.bashrc-aliases ]; then
. $HOME/.bashrc-aliases
fi

if [ -f $HOME/.bashrc-secrets ]; then
. $HOME/.bashrc-secrets
fi

# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin"
export GOPATH=$HOME/go
export NVM_DIR="$HOME/.nvm"

# NVM
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
48 changes: 48 additions & 0 deletions .bashrc-aliases
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# List
alias ls='ls --color=auto'
alias lsa='ls -al --color=auto'

## Colorize the grep command output for ease of use (good for log files)##
alias grep='grep --color=auto'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'

# ps
alias psa="ps auxf"
alias psgrep="ps aux | grep -v grep | grep -i -e VSZ -e"

# # ex = EXtractor for all kinds of archives
# # usage: ex <file>
ex ()
{
if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xjf $1 ;;
*.tar.gz) tar xzf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) unrar x $1 ;;
*.gz) gunzip $1 ;;
*.tar) tar xf $1 ;;
*.tbz2) tar xjf $1 ;;
*.tgz) tar xzf $1 ;;
*.zip) unzip $1 ;;
*.Z) uncompress $1;;
*.7z) 7z x $1 ;;
*.deb) ar x $1 ;;
*.tar.xz) tar xf $1 ;;
*.tar.zst) unzstd $1 ;;
*) echo "'$1' cannot be extracted via ex()" ;;
esac
else
echo "'$1' is not a valid file"
fi
}

# KB
alias kbl="kb list"
alias kbe="kb edit --id"
alias kba="kb add"
alias kbv="kb view --id"
alias kbd="kb delete --id"
alias kbg="kb grep"
alias kbt="kb list --tags"
File renamed without changes.
1 change: 1 addition & 0 deletions .config/gtk-3.0/bookmarks
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
file:///home/eksoverzero/Sites
2 changes: 1 addition & 1 deletion .config/gtk-3.0/settings.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
gtk-theme-name=Adwaita-dark
gtk-icon-theme-name=Sardi-Arc
gtk-font-name=Noto Sans 11
gtk-cursor-theme-name=Bibata_Ice
gtk-cursor-theme-name=Simp1e
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
Expand Down
Loading

0 comments on commit d094640

Please sign in to comment.