Skip to content

Commit dcdf5b5

Browse files
committed
theme/rana: use $OSTYPE instead of $(uname)
1 parent bc8f702 commit dcdf5b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/rana/rana.theme.bash

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ prompt() {
181181
local MOVE_CURSOR_RIGHTMOST='\033[500C'
182182
local MOVE_CURSOR_5_LEFT='\033[5D'
183183

184-
if [ $(uname) = "Linux" ];
184+
if [[ "$OSTYPE" == 'linux'* ]];
185185
then
186186
PS1="${TITLEBAR}
187187
${SAVE_CURSOR}${MOVE_CURSOR_RIGHTMOST}${MOVE_CURSOR_5_LEFT}\

0 commit comments

Comments
 (0)