summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/filebrowser/backend-ps.sh
blob: ac1eb47827e9b5ae42fb70161c4c9e90dba29e57 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash
#give a list of files.
#wait for a selection on stdin
#cd or start that file
#repeat.
while true;do
#not sure why this needs to be printed to show up every time.
  ps | tail -n+2
  read -r selection
  echo $selection
  echo
done