Skip to content

Instantly share code, notes, and snippets.

@Tknott95
Created March 2, 2018 05:18
Show Gist options
  • Save Tknott95/16e68a81944f4457cb7e8fd18c33655e to your computer and use it in GitHub Desktop.
Save Tknott95/16e68a81944f4457cb7e8fd18c33655e to your computer and use it in GitHub Desktop.
Custom ~/.bashrc Arch Linux
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
ANDROID_HOME='/home/tk/Android/Sdk'
GOPATH='$HOME/Workspace/Golang/go'
GOBIN='$GOPATH/bin'
GOROOT='$HOME/Workspace/Golang/go'
# PATH='$PATH:$GOROOT/bin'
# PATH="$PATH:$HOME/go/bin"
# @TK PACMAN RELATED
su='sudo pacman -Syyuu'
p='sudo pacman -Ss '
ps='sudo pacman -S '
psn='sudo pacman -S --noconfirm '
# @TK yaourt RELATED
ys='yaourt -S --noconfirm '
yn='yaourt --noconfirm '
y='yaourt '
# @TK SYSTEMCTL RELATED
ctls='sudo systemctl start '
ctle='sudo systemctl enable '
ctlr='sudo systemctl restart'
ws='cd ~/Workspace'
# fb='cd $ws/Golang/go/src'
ns='cd $ws/Nativescript'
# FLUI
flui='cd $ws/Fluidity'
ffe='cd $ws/Fluidity/flui_alpha_release' #FRONTEND @FLUIDITY
fbe='cd /home/tk/go/src/github.com/tknott95/LCW-FC' #BACKEND @FLUIDITY
# Commands After Init()
neofetch
export NVM_DIR="$HOME/.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
###-tns-completion-start-###
if [ -f /home/tk/.tnsrc ]; then
source /home/tk/.tnsrc
fi
###-tns-completion-end-###
@Tknott95
Copy link
Author

Tknott95 commented Mar 2, 2018

@tk PACMAN RELATED

**# > su='sudo pacman -Syyuu'

p='sudo pacman -Ss '
ps='sudo pacman -S '
psn='sudo pacman -S --noconfirm '**

@tk yaourt RELATED

**# > ys='yaourt -S --noconfirm '

yn='yaourt --noconfirm '
y='yaourt '**

@tk SYSTEMCTL RELATED

**# > ctls='sudo systemctl start '

ctle='sudo systemctl enable '
ctlr='sudo systemctl restart'**

@Tknott95
Copy link
Author

Tknott95 commented Mar 2, 2018

Helps me speed Develop
ys='yaourt -S --noconfirm '
yn='yaourt --noconfirm '
y='yaourt '

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment