Ver código fonte

Exit if dir is unchanged

master
Arun Prakash Jana 5 anos atrás
pai
commit
877f7b4d62
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: A75979F35C080412
1 arquivos alterados com 2 adições e 0 exclusões
  1. +2
    -0
      plugins/fzcd

+ 2
- 0
plugins/fzcd Ver arquivo

@@ -26,6 +26,8 @@ fi
if [ -n "$sel" ]; then
if ! [ -d "$sel" ]; then
sel=$(dirname "$sel")
elif [ "$sel" = "." ]; then
exit 0
fi

# Remove "./" prefix if it exists


Carregando…
Cancelar
Salvar