cb and nvim shell stuff
This commit is contained in:
parent
bc516ac136
commit
38c1b3fcc5
1 changed files with 6 additions and 1 deletions
7
.zshrc
7
.zshrc
|
@ -6,13 +6,16 @@ source "$HOME/.zprofile"
|
|||
source "$HOME/.config/user-dirs.dirs"
|
||||
export TIMEFMT=$'\nreal\t%E\nuser\t%U\nsys\t%S\ncpu\t%P'
|
||||
export ZSH=$HOME/.zsh
|
||||
#export CLIPBOARD_NOGUI=0 # wayland only allows GUI apps to use the clipboard.
|
||||
export CLIPBOARD_NOGUI=1 # wayland only allows GUI apps to use the clipboard.
|
||||
# cb would have to open every 2 seconds and steal
|
||||
# focus. This sucks, so I will have to disable GUI
|
||||
# integration (yes that means ctrl+v) for now.
|
||||
#
|
||||
# For wayland, set this to `1`
|
||||
# see https://github.com/Slackadays/Clipboard/issues/171
|
||||
export CLIPBOARD_NOAUDIO=1
|
||||
export CLIPBOARD_SILENT=1
|
||||
export CLIPBOARD_THEME=darkhighcontrast
|
||||
export DATEFMT='+%a %Y-%m-%d %X'
|
||||
export EDITOR=$(which nvim)
|
||||
export VISUAL=$(which nvim)
|
||||
|
@ -58,6 +61,7 @@ alias sheep="echo -ne 🐑"
|
|||
alias knife="echo -ne 🔪"
|
||||
alias please="echo -ne 👉👈"
|
||||
alias bak=backup
|
||||
alias cb="NO_COLOR=1 cb"
|
||||
|
||||
### Functions
|
||||
function random() {
|
||||
|
@ -417,6 +421,7 @@ function load_nvm() {
|
|||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
}
|
||||
alias nvim="load_nvm&&nvim"
|
||||
# zprof
|
||||
|
||||
# gpg is cool actually
|
||||
|
|
Loading…
Add table
Reference in a new issue