change PREFIX in switch list
[rainbowstream.git] / rainbowstream / rainbow.py
index f684ac4ed3a6ea38404e98167e6b7ee1031325b9..eca57943cb0489f4963f40c5987325f80b502349 100644 (file)
@@ -1220,7 +1220,7 @@ def switch():
         elif target == 'list':
             owner, slug = get_slug()
             # Force python 2 not redraw readline buffer
         elif target == 'list':
             owner, slug = get_slug()
             # Force python 2 not redraw readline buffer
-            g['cmd'] = '/'.join([owner, slug])
+            g['PREFIX'] = g['cmd'] = '/'.join([owner, slug])
             printNicely(light_yellow('getting list members ...'))
             # Get members
             t = Twitter(auth=authen())
             printNicely(light_yellow('getting list members ...'))
             # Get members
             t = Twitter(auth=authen())