mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2024-12-27 01:01:05 +00:00
Add mcfly
This commit is contained in:
parent
ca21931d02
commit
61cc09e575
1 changed files with 18 additions and 11 deletions
|
@ -1,4 +1,22 @@
|
|||
if status is-interactive
|
||||
# ENV variables
|
||||
set -x EDITOR /usr/bin/nvim
|
||||
set -x JULIA_NUM_THREADS 16
|
||||
|
||||
# Setup
|
||||
## Zoxide
|
||||
zoxide init fish | source
|
||||
## Starship
|
||||
starship init fish | source
|
||||
## McFly
|
||||
set -gx MCFLY_KEY_SCHEME vim
|
||||
set -gx MCFLY_FUZZY 2
|
||||
set -gx MCFLY_RESULTS 40
|
||||
set -gx MCFLY_INTERFACE_VIEW BOTTOM
|
||||
set -gx MCFLY_RESULTS_SORT LAST_RUN
|
||||
set -gx MCFLY_HISTORY_LIMIT 10000
|
||||
mcfly init fish | source
|
||||
|
||||
# Disable greeting
|
||||
set -g fish_greeting
|
||||
|
||||
|
@ -33,17 +51,6 @@ if status is-interactive
|
|||
set -l asciidoctor_image docker.io/asciidoctor/docker-asciidoctor:latest
|
||||
abbr -a -g adoc "podman pull $asciidoctor_image; podman run -it --rm -v (pwd):/documents/:Z $asciidoctor_image"
|
||||
|
||||
# ENV variables
|
||||
set -x EDITOR /usr/bin/nvim
|
||||
set -x JULIA_NUM_THREADS 16
|
||||
|
||||
# Setup
|
||||
## Zoxide
|
||||
zoxide init fish | source
|
||||
|
||||
## starship
|
||||
starship init fish | source
|
||||
|
||||
# Functions
|
||||
## Replacements
|
||||
function cd -w z
|
||||
|
|
Loading…
Reference in a new issue