5 lines
221 B
Bash
Executable File
5 lines
221 B
Bash
Executable File
#!/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" )
|