5 lines
221 B
Plaintext
5 lines
221 B
Plaintext
|
#!/bin/bash
|
||
|
currentdir="$(pwd)"
|
||
|
file="$( du -a ~/.config/* ~/.local/src/* ~/.local/bin/* | awk '{print $2}' | fzf -e --query="$*")"
|
||
|
[ "$file" = "" ] || ( cd "$( dirname "$file" )" && $EDITOR "$file" && cd "$currentdir" )
|