open function nautilus

mail@pastecode.io avatar
unknown
plain_text
2 years ago
152 B
3
Indexable
Never
open(){
	if [[ -z "$1" ]]; then
		eval $(nautilus -w . > /dev/null 2>&1 &)
	elif [[ -n "$1" ]]; then
		eval $(nautilus -w "$1" > /dev/null 2>&1 &)
	fi
}