Skip to content

Instantly share code, notes, and snippets.

@DrSensor
Forked from mborejdo/gist:65ddf0622dff641f2dab9e54167c11ee
Last active August 12, 2020 23:11
Show Gist options
  • Save DrSensor/8459af403851e905dcef2f75fdc2f8db to your computer and use it in GitHub Desktop.
Save DrSensor/8459af403851e905dcef2f75fdc2f8db to your computer and use it in GitHub Desktop.
autojump in nushell
edit_mode = "emacs"
use_starship = false
rm_always_trash = true
history_size = 100000
completion_mode = "circular"
disable_table_indexes = false
header_align = "l"
header_color = "c"
header_bold = true
pivot_mode = "auto"
complete_from_path = true
key_timeout = 500
startup = [
"alias z [a b c d] {cd $(zoxide query $a $b $c $d | trim)}",
"alias zi [a b c d] {cd $(zoxide query -i $a $b $c $d | trim)}",
"alias za [a b c d] {zoxide add $a $b $c $d}",
"alias zq [a b c d] {zoxide query $a $b $c $d}",
"alias zqi [a b c d] {zoxide query -i $a $b $c $d}",
"alias zr [a b c d] {zoxide remove $a $b $c $d}",
"alias zri [a b c d] {zoxide remove -i $a $b $c $d}",
"alias cat [a] {open $a}",
"alias la [a] {ls -a $a}",
"alias find [a b c d] {fd $a $b $c $d}",
"alias grep [a b c d] {rg $a $b $c $d}",
"alias sed [a b c d] {sd $a $b $c $d}",
"alias vi [a b c d] {NVIM_LISTEN_ADDRESS=/tmp/nvim.socket nvim $a $b $c $d}",
"alias tf [] {termifind}",
"alias wask [a b c d] {mask --maskfile ~/.config/maskfile.md $a $b $c $d}",
"alias zoxship [a b c d] { do -i { zoxide add; starship prompt | echo `{{$(ansi white)}}{{$a}} {{$b}}{{$(ansi reset)}} {{$it}}` }}"
]
prompt = "zoxship "
nu_env_dirs = [
]
path = [
"/home/mib/go/bin",
"/home/mib/.cargo/bin",
"/usr/lib/go-1.14/bin",
"/usr/bin",
"/usr/local/bin",
"/home/mib/.bin"
]
[textview]
term_width = "default"
tab_width = 4
colored_output = true
true_color = true
header = true
line_numbers = true
grid = false
vcs_modification_markers = true
snip = true
wrapping_mode = "NoWrapping"
use_italics = true
paging_mode = "QuitIfOneScreen"
pager = "less"
theme = "Dracula"
[env]
CARGO_HOME="/home/mib/.cargo"
GNUPGHOME="/home/mib/.gnupg"
RUSTUP_HOME="/home/mib/.rustup"
EDITOR="nvim"
PAGER="less"
OS="Linux"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment