(Grav GitSync) Automatic Commit from tanshu

This commit is contained in:
tanshu 2018-03-08 03:27:43 +00:00 committed by GitSync
parent 87f6632b79
commit 9b05bd7533
1 changed files with 6 additions and 6 deletions

View File

@ -2,20 +2,20 @@
title: 'Tanshu.Com setup' title: 'Tanshu.Com setup'
--- ---
## 1. Data ## Data
Create a Data directory `mkdir -p ~/Data` Create a Data directory `mkdir -p ~/Data`
## 2. Scripts ## Scripts
Create a Script directory `mkdir -p ~/Data/scripts` add the script there and link it with Create a Script directory `mkdir -p ~/Data/scripts` add the script there and link it with
```sh ```sh
cd ~/bin cd ~/bin
ls -s ~/Data/scripts/script.sh script.sh ls -s ~/Data/scripts/script.sh script.sh
``` ```
## 3. Crontab ## Crontab
`export VISUAL=nano; crontab -e` `export VISUAL=nano; crontab -e`
## 4. .bash_aliases ## .bash_aliases
```sh ```sh
alias psq='psql -U hops' alias psq='psql -U hops'
alias ruby=ruby2.4 alias ruby=ruby2.4
@ -24,7 +24,7 @@ alias ls='ls -l --color=auto'
alias ct='export VISUAL=nano; crontab -e' alias ct='export VISUAL=nano; crontab -e'
``` ```
## 5. .bash_profile ## .bash_profile
```sh ```sh
# .bash_profile # .bash_profile
@ -38,7 +38,7 @@ fi
export PATH=$HOME/bin:$PATH export PATH=$HOME/bin:$PATH
``` ```
## 6. .bash_rc ## .bash_rc
```sh ```sh
# .bashrc # .bashrc