elvish_config/rc.elv

36 lines
819 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#set-env BAT_THEME Coldark-Cold
set-env BAT_PAGER 'less -RF'
set-env EDITOR vim
set-env VIEW 'vim -R'
set-env CURRENT_SHELL 'elvish'
set paths = [$@paths /home/benjamin/bin /home/benjamin/Go/bin ]
{
use moi/util/list
if (list:includes-not /usr/local/bin $paths) {
set paths = [ $@paths /usr/local/bin ]
}
}
set notify-bg-job-success = $false
set edit:insert:binding[Tab] = { edit:completion:smart-start; edit:navigation:trigger-filter }
set edit:insert:binding[Ctrl-H] = $edit:histlist:start~
set edit:prompt = { go-prompt }
set edit:rprompt = { nop }
use moi/completion
use moi/alias
use moi/util/common
# Carapace completion: https://github.com/rsteube/carapace-bin
eval (carapace _carapace|slurp)
{
use ./aliases/get-uid uid
if (not (uid:-is-root)) {
tache search -d 2w not del
}
}