Adding shell aliases for copying /etc/dtos into HOME.
This commit is contained in:
parent
ad1b4384ff
commit
4924eed705
13
.bashrc
13
.bashrc
|
@ -235,14 +235,11 @@ alias rr='curl -s -L https://raw.githubusercontent.com/keroserene/rickrollrc/mas
|
|||
# Unlock LBRY tips
|
||||
alias tips='lbrynet txo spend --type=support --is_not_my_input --blocking'
|
||||
|
||||
### Skel ###
|
||||
# Copy/paste all content of /etc/skel over to home folder.
|
||||
# A backup of config is created. BEWARE!
|
||||
alias skel='[ -d ~/.config ] || mkdir ~/.config && cp -Rf ~/.config ~/.config-backup-$(date +%Y.%m.%d-%H.%M.%S) && cp -rf /etc/skel/* ~'
|
||||
|
||||
### Backup Skel ###
|
||||
# backup contents of /etc/skel to hidden backup folder in $HOME.
|
||||
alias bupskel='cp -Rf /etc/skel ~/.skel-backup-$(date +%Y.%m.%d-%H.%M.%S)'
|
||||
### DTOS ###
|
||||
# Copy/paste all content of /etc/dtos over to home folder. A backup of config is created. (Be careful running this!)
|
||||
alias dtoscopy='[ -d ~/.config ] || mkdir ~/.config && cp -Rf ~/.config ~/.config-backup-$(date +%Y.%m.%d-%H.%M.%S) && cp -rf /etc/dtos/* ~'
|
||||
# Backup contents of /etc/dtos to a backup folder in $HOME.
|
||||
alias dtosbackup='cp -Rf /etc/dtos ~/dtos-backup-$(date +%Y.%m.%d-%H.%M.%S)'
|
||||
|
||||
### RANDOM COLOR SCRIPT ###
|
||||
# Get this script from my GitLab: gitlab.com/dwt1/shell-color-scripts
|
||||
|
|
|
@ -327,14 +327,11 @@ alias rr='curl -s -L https://raw.githubusercontent.com/keroserene/rickrollrc/mas
|
|||
# Unlock LBRY tips
|
||||
alias tips="lbrynet txo spend --type=support --is_not_my_input --blocking"
|
||||
|
||||
### Skel ###
|
||||
# Copy/paste all content of /etc/skel over to home folder.
|
||||
# A backup of config is created. BEWARE!
|
||||
alias skel='[ -d ~/.config ] || mkdir ~/.config && cp -Rf ~/.config ~/.config-backup-(date +%Y.%m.%d-%H.%M.%S) && cp -rf /etc/skel/* ~'
|
||||
|
||||
### Backup Skel ###
|
||||
# backup contents of /etc/skel to hidden backup folder in $HOME.
|
||||
alias bupskel='cp -Rf /etc/skel ~/.skel-backup-(date +%Y.%m.%d-%H.%M.%S)'
|
||||
### DTOS ###
|
||||
# Copy/paste all content of /etc/dtos over to home folder. A backup of config is created. (Be careful running this!)
|
||||
alias dtoscopy='[ -d ~/.config ] || mkdir ~/.config && cp -Rf ~/.config ~/.config-backup-(date +%Y.%m.%d-%H.%M.%S) && cp -rf /etc/dtos/* ~'
|
||||
# Backup contents of /etc/dtos to a backup folder in $HOME.
|
||||
alias dtosbackup='cp -Rf /etc/dtos ~/dtos-backup-(date +%Y.%m.%d-%H.%M.%S)'
|
||||
|
||||
### RANDOM COLOR SCRIPT ###
|
||||
# Get this script from my GitLab: gitlab.com/dwt1/shell-color-scripts
|
||||
|
|
13
.zshrc
13
.zshrc
|
@ -231,14 +231,11 @@ alias rr='curl -s -L https://raw.githubusercontent.com/keroserene/rickrollrc/mas
|
|||
# Unlock LBRY tips
|
||||
alias tips='lbrynet txo spend --type=support --is_not_my_input --blocking'
|
||||
|
||||
### Skel ###
|
||||
# Copy/paste all content of /etc/skel over to home folder.
|
||||
# A backup of config is created. BEWARE!
|
||||
alias skel='[ -d ~/.config ] || mkdir ~/.config && cp -Rf ~/.config ~/.config-backup-$(date +%Y.%m.%d-%H.%M.%S) && cp -rf /etc/skel/* ~'
|
||||
|
||||
### Backup Skel ###
|
||||
# backup contents of /etc/skel to hidden backup folder in $HOME.
|
||||
alias bupskel='cp -Rf /etc/skel ~/.skel-backup-$(date +%Y.%m.%d-%H.%M.%S)'
|
||||
### DTOS ###
|
||||
# Copy/paste all content of /etc/dtos over to home folder. A backup of config is created. (Be careful running this!)
|
||||
alias dtoscopy='[ -d ~/.config ] || mkdir ~/.config && cp -Rf ~/.config ~/.config-backup-$(date +%Y.%m.%d-%H.%M.%S) && cp -rf /etc/dtos/* ~'
|
||||
# Backup contents of /etc/dtos to a backup folder in $HOME.
|
||||
alias dtosbackup='cp -Rf /etc/dtos ~/dtos-backup-$(date +%Y.%m.%d-%H.%M.%S)'
|
||||
|
||||
### RANDOM COLOR SCRIPT ###
|
||||
# Get this script from my GitLab: gitlab.com/dwt1/shell-color-scripts
|
||||
|
|
Loading…
Reference in New Issue