mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* select-screen-profile: silence stderr on ls
This commit is contained in:
parent
99da30bb64
commit
05ba80999b
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ listprofiles() {
|
||||||
basename $(ls $PROFILE_DIR/*-dark 2>/dev/null) 2>/dev/null
|
basename $(ls $PROFILE_DIR/*-dark 2>/dev/null) 2>/dev/null
|
||||||
basename $(ls $PROFILE_DIR/*-black 2>/dev/null) 2>/dev/null
|
basename $(ls $PROFILE_DIR/*-black 2>/dev/null) 2>/dev/null
|
||||||
# Now, list advanced profiles
|
# Now, list advanced profiles
|
||||||
for x in $(ls $PROFILE_DIR/*-*_*); do
|
for x in $(ls $PROFILE_DIR/*-*_* 2>/dev/null); do
|
||||||
x=$(basename "$x")
|
x=$(basename "$x")
|
||||||
if [ $x = "common" -o $x = "misc" ]; then
|
if [ $x = "common" -o $x = "misc" ]; then
|
||||||
# Skip the common profile, no value there
|
# Skip the common profile, no value there
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue