elks-enhanced
public
Read
Owner: themaster
Branch: master
Commits: 6893
Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL
Code
Commits
History
Branches
Bug Reports
Discussions
Compare
Settings
elks-enhanced
/
elks
/
scripts
/
setdir
File editor
#!/bin/bash function map() { local CURRENT="${1}" DIR OK=Y while read DIR ; do if [ "${DIR}" != ".." ]; then CURRENT="${CURRENT}/${DIR}" else CURRENT=`echo "$CURRENT" | rev | cut -d / -f 2- | rev` if [ -z "${CURRENT}" ]; then OK=N fi fi done if [ $OK != N ]; then echo "${CURRENT}" | tr -s / else echo WARNING: Invalid path ignored: "${2}" >&2 fi } for PARM do if echo "${PARM}" | grep ^/ > /dev/null ; then echo "${PARM}" | tr / '\n' | grep -v '^\.$' | map / else echo "${PARM}" | tr / '\n' | grep -v '^\.$' | map "`pwd`" fi done
Commit message
This repository is read-only for this account.
Repository snapshot
Current branch
master
Visibility
public
Your access
Read
Remote
Configured
File activity
View file history