"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "plugins/fzopen" between
nnn-v4.3.tar.gz and nnn-v4.4.tar.gz

About: nnn is a full-featured terminal file manager.

fzopen  (nnn-v4.3):fzopen  (nnn-v4.4)
skipping to change at line 44 skipping to change at line 44
# entry=$(find . -type f 2>/dev/null | fzf --delimiter / --with-nth=-1 --tie break=begin --info=hidden) # entry=$(find . -type f 2>/dev/null | fzf --delimiter / --with-nth=-1 --tie break=begin --info=hidden)
elif type sk >/dev/null 2>&1; then elif type sk >/dev/null 2>&1; then
entry=$(find . -type f 2>/dev/null | sk) entry=$(find . -type f 2>/dev/null | sk)
else else
exit 1 exit 1
fi fi
# Check for picker mode # Check for picker mode
if [ "$3" ]; then if [ "$3" ]; then
if [ "$entry" ]; then if [ "$entry" ]; then
case "$entry" in
/*) fullpath="$entry" ;;
*) fullpath="$PWD/$entry" ;;
esac
if [ "-" = "$3" ]; then if [ "-" = "$3" ]; then
printf "%s\n" "$entry" printf "%s\n" "$fullpath"
else else
printf "%s\n" "$entry" > "$3" printf "%s\n" "$fullpath" > "$3"
fi fi
# Tell `nnn` to clear its internal selection # Tell `nnn` to clear its internal selection
printf "%s" "0p" > "$NNN_PIPE" printf "%s" "0p" > "$NNN_PIPE"
fi fi
exit 0 exit 0
fi fi
if [ "$USE_NUKE" -ne 0 ]; then if [ "$USE_NUKE" -ne 0 ]; then
 End of changes. 3 change blocks. 
2 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)