non important commit
This commit is contained in:
parent
674c68280b
commit
761422165e
1 changed files with 3 additions and 1 deletions
|
|
@ -16,6 +16,8 @@
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
bash.enable = true;
|
bash.enable = true;
|
||||||
|
fzf.enable = true;
|
||||||
|
eza.enable = true;
|
||||||
|
|
||||||
direnv = {
|
direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -65,7 +67,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
def --env fzf-cd [] {
|
def --env fzf-cd [] {
|
||||||
let dir = (fd -t d -L . | fzf --reverse --height 40% --border rounded --preview=("eza --color=always --group-directories-first --icons --long .") --preview-window=border-left)
|
let dir = (fd -t d -L . | fzf --reverse --height 40% --border rounded --preview=("eza --color=always --group-directories-first --icons --long {}") --preview-window=border-left)
|
||||||
if $dir != null and $dir != "" {
|
if $dir != null and $dir != "" {
|
||||||
cd $dir
|
cd $dir
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue