10 lines
165 B
Bash
Executable File
10 lines
165 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
|
|
lf "$@"
|
|
else
|
|
[ ! -d "$HOME/.cache/lf" ] && mkdir --parents "$HOME/.cache/lf"
|
|
lf "$@" 3>&-
|
|
fi
|