mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-21 03:04:38 +10:00
Editing shell configs for bash, fish, zsh.
This commit is contained in:
25
.bashrc
25
.bashrc
@@ -134,13 +134,6 @@ alias doomdoctor="~/.emacs.d/bin/doom doctor"
|
||||
alias doomupgrade="~/.emacs.d/bin/doom upgrade"
|
||||
alias doompurge="~/.emacs.d/bin/doom purge"
|
||||
|
||||
# bat
|
||||
# alias cat='bat'
|
||||
|
||||
# broot
|
||||
alias br='broot -dhp'
|
||||
alias bs='broot --sizes'
|
||||
|
||||
# Changing "ls" to "exa"
|
||||
alias ls='exa -al --color=always --group-directories-first' # my preferred listing
|
||||
alias la='exa -a --color=always --group-directories-first' # all files and dirs
|
||||
@@ -244,22 +237,20 @@ 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'
|
||||
|
||||
# Thinkorswim
|
||||
alias tos="~/thinkorswim/thinkorswim"
|
||||
### 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/* ~'
|
||||
|
||||
# force all kakoune windows into one session
|
||||
alias kak="/usr/bin/kak -c mysession"
|
||||
alias kaks="/usr/bin/kak -s mysession"
|
||||
alias kakd="/usr/bin/kak -d -s mysession &"
|
||||
### 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)'
|
||||
|
||||
### RANDOM COLOR SCRIPT ###
|
||||
# Get this script from my GitLab: gitlab.com/dwt1/shell-color-scripts
|
||||
# Or install it from the Arch User Repository: shell-color-scripts
|
||||
colorscript random
|
||||
|
||||
### SOURCING BROOT ###
|
||||
source ~/.config/broot/launcher/bash/br
|
||||
|
||||
### BASH INSULTER ###
|
||||
if [ -f /etc/bash.command-not-found ]; then
|
||||
. /etc/bash.command-not-found
|
||||
@@ -267,5 +258,3 @@ fi
|
||||
|
||||
### SETTING THE STARSHIP PROMPT ###
|
||||
eval "$(starship init bash)"
|
||||
|
||||
source /home/dt/.config/broot/launcher/bash/br
|
||||
|
||||
Reference in New Issue
Block a user