Tag Info

New answers tagged

1

First of all check if setting variable ZLE_RPROMPT_INDENT to 0 helps. The default is 1. From zsh manual: ZLE_RPROMPT_INDENT If set, used to give the indentation between the right hand side of the right prompt in the line editor as given by RPS1 or RPROMPT and the right hand side of the screen. If not set, the value 1 is used.


0

For gnome-terminal: In the menu bar, under Edit : Profile Preferences, tab General you will find Select-by-word chatacters. If you want the terminal to consider / to be a word boundary for selection purposes, remove / from the list of characters.


0

I just fought with this issue for an hour. It turned out that my problem was that LC_COLLATE was set to C (it had an extra space) instead of C in /etc/locale.conf.


1

Putting a ; after a & does not work. & is already a command separator, specifying, that the command should be run in the background, so ; is not required. Try removing the ; and report back.


3

All terminal emulators that I've seen only let you resize the window in steps that correspond to the width of one character column. However, if your full-screen window width is not a multiple of the character width, there's not really anything you can do (other than choose a different font size to make it come better).


0

I just spent most of an afternoon hunting down WTF is going on with the active vs other tabs visibility for the https://developer.gnome.org/gtk3/stable/GtkNotebook.html widget, with the default theme (Raleigh), for the same reason as the OP. I Finally got tired of having it near-impossible to see which tab is active at a glance. (There is a visible ...


1

I had the same issue after a fresh install of arch. I checked, double checked and triple checked the locale.gen and even removed every locale except en_US.UTF-8. I was just about to give up when I checked under settings, Regions & Language and discovered the language was not set even though I had run the command to set it. After picking english and ...


0

this is alias version SETTP='MY_PROMPT="$HOSTNAME:$PWD\$ "' SETTP="$SETTP;"'MY_TITLE="\[\e]0;$HOSTNAME:$PWD\a\]"' SETTP="$SETTP;"'PS1="$MY_TITLE$MY_PROMPT"' SETPC="export PROMPT_COMMAND='eval '\\''$SETTP'\\'; bash --login" alias myssh='function _myssh(){ ssh -t $1@$2 $SETPC; };_myssh'


2

A very simple workaround for you would be including a function in your ~/.zshrc that remembers the working directory and changes into it when opening zsh: cd $(<>/dev/shm/$USER-pwd) __cd(){ \cd "$@" pwd >/dev/shm/$USER-pwd } alias cd=__cd We use /dev/shm instead of /tmp to avoid disk writes, although /tmp could already be a tmpfs on your ...


1

I'm not sure what exactly you want to restore (see below); If you want to open gnome-terminal starting in a different directory, there is an option to specify the directory: gnome-terminal --working-directory=/tmp You could certainly use a script as custom startup command, which does a cd, and then starts the shell - but that does not sound like a good ...



Top 50 recent answers are included