Last active
May 7, 2018 21:23
-
-
Save sblack4/e5a8dda8c8b0f78984657c05f6712ae3 to your computer and use it in GitHub Desktop.
dotfiles
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# generated by Git for Windows | |
test -f ~/.profile && . ~/.profile | |
test -f ~/.bashrc && . ~/.bashrc | |
alias l='ls -ahl' | |
alias la='ls -a' | |
alias ll='ls -hl' | |
alias open="explorer " | |
# | |
# docker | |
alias d="docker " | |
alias dc="docker container " | |
alias dv="docker volume " | |
alias di="docker image " | |
# docker kill & docker prune | |
alias dkill='docker container rm $(docker container ls -aq) ' | |
alias dprune="docker container prune -f && docker volume prune -f && docker image prune -f" | |
alias dcontainers='docker container ls -a' | |
# docker-list (dl) | |
alias dl="docker images && docker container ls -a && docker volume ls" | |
# | |
# GIT | |
alias gitterdone="git add -A && git commit -m 'this statement has been endorsed by steven' && git push origin master" | |
gitcam='git commit -a -m ' | |
gl='git log --oneline --all --graph --decorate ' | |
# | |
# PROXY | |
function setproxy() { | |
export http_proxy=http://www-proxy.us.oracle.com:80 | |
export https_proxy=http://www-proxy.us.oracle.com:80 | |
echo $http_proxy | |
git config --global http.proxy $http_proxy | |
git config --global https.proxy $http_proxy | |
npm c -g set http_proxy $http_proxy | |
npm c -g set https_proxy $http_proxy | |
} | |
function unsetproxy() { | |
unset http_proxy | |
unset https_proxy | |
git config --global --unset http.proxy | |
git config --globla --unset https.proxy | |
npm c -g delete http_proxy | |
npm c -g delete https_proxy | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test -f ~/.bash_profile && . ~/.bash_profile | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set autoindent | |
set number | |
set autoread | |
set ruler | |
syntax enable | |
set shiftwidth=2 | |
set encoding=utf-8 | |
set tabstop=2 | |
set expandtab | |
set autoindent | |
set hlsearch | |
set wrap | |
"" so when you type ':Q' instead of ':q' | |
"" you can still exit | |
:command! -bar -bang Q quit<bang> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment