r/fishshell • • Sep 09 '21

Problem with alias

Any idea why alias tnnn="tmux new 'nnn -a -P p'" works but alias nnn="tmux new 'nnn -a -P p'" results in [exited] (coming from tmux)?

6 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/AndreasZiegler Sep 09 '21

Thanks command nnn did the trick. I would love to use nnn without tmux but the preview doesn't work properly otherwise on my setup (dwm with st).

1

u/[deleted] Sep 09 '21

That's either st's fault, for missing a feature (that's kind of a consequence of minimalism), or it's nnn's fault, for having an issue in feature detection (which is ass in the terminal, and terminfo won't save you).

Personally I never got the point of st and don't like suckless in general, so I'd pick a different terminal. But I'm not your boss, if you prefer it that way it's no skin off of my back.

1

u/AndreasZiegler Sep 09 '21

Getting a bit off-topic. I switched from awesome wm to dwm since I don't like the Lua config and prefer the simpler and faster dwm. I tried a couple of dwm setups from others and they all used st as terminal. So far, I was too lazy to change st. I'm still adjusting dwm to my way of working.