Update bash aliases
This commit is contained in:
parent
b394159a6e
commit
10b03f5244
3 changed files with 15 additions and 1 deletions
|
|
@ -35,4 +35,6 @@ alias scripts="jq .scripts package.json"
|
||||||
# sleep 10; alert
|
# sleep 10; alert
|
||||||
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
|
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
|
||||||
|
|
||||||
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
|
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
|
||||||
|
|
||||||
|
alias timestamp='date +%s%3N'
|
||||||
|
|
|
||||||
|
|
@ -39,3 +39,12 @@ size = 11
|
||||||
[font.normal]
|
[font.normal]
|
||||||
family = "SpaceMono Nerd Font Mono"
|
family = "SpaceMono Nerd Font Mono"
|
||||||
style = "Regular"
|
style = "Regular"
|
||||||
|
|
||||||
|
|
||||||
|
[[hints.enabled]]
|
||||||
|
regex = "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001f\u007f-\u009f<>\"\\s{-}\\^⟨⟩`]+"
|
||||||
|
command = "xdg-open"
|
||||||
|
post_processing = true
|
||||||
|
mouse = { enabled = true, mods = "Control" }
|
||||||
|
binding = { key = "U", mods = "Control|Shift" }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,5 +23,8 @@ set -g status-style bg=default
|
||||||
|
|
||||||
# set-window-option -g visual-bell on
|
# set-window-option -g visual-bell on
|
||||||
|
|
||||||
|
bind-key H display-popup -E "htop"
|
||||||
|
bind-key N display-popup
|
||||||
|
|
||||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||||
run '~/.tmux/plugins/tpm/tpm'
|
run '~/.tmux/plugins/tpm/tpm'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue