-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bashrc
22 lines (22 loc) · 950 Bytes
/
.bashrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
clear
ls
alias ls="ls -a"
alias du="du -h"
alias refresh="cd && cp -r storage/shared/github/conf/.bashrc ./"
alias store="cd && cp -r ./.bashrc storage/shared/github/conf/ && g && cd conf && git add .bashrc -f && git commit -m 'config .bashrc update' && git push origin master"
alias x="exit"
alias sd="cd && cd storage/shared/"
alias nano="nano -x"
alias n="nano -x"
alias www="cd && cd storage/shared/dev"
alias clean="apt clean && apt autoclean && apt autoremove && npm cache clear -f"
alias update="apt update && apt upgrade && npm install -g npm stable && clean"
alias setup="update && apt install nano nodejs-lts && npm -v && npm install -g sass"
echo "dir: g, sd, www, du, grep 'phrase' file.txt"
echo "system : setup, update, clean"
echo "bashrc : refresh, store"
echo "git: push"
echo "node: scss"
alias scss="sass --watch --no-source-map"
alias g="sd && cd github"
alias push="git add . && git commit -m 'update' && git push origin master"