4
votes
Accepted
No bash_profile and when I define it, it doesn't load
.bash_profile and .profile are only executed by login shells and text consoles. Terminal apps on GNU/Linux are neither so they use .bashrc instead. AFAIK only macOS uses a login shell on its Terminal ...
4
votes
Accepted
Case sensitive tab completion
And of course as soon as I ask I find the answer - set completion-ignore-case off in /etc/inputrc
(from https://askubuntu.com/questions/87061/can-i-make-tab-auto-completion-case-insensitive-in-the-...
1
vote
How to write an alias to accept variables
So dumb of me. I achieved my goal by adding this line to the .zshrc:
cluster() { ssh root@"$1".example.com; }
And then did a
source .zshrc
Running cluster c1232-node3 executes ssh root@...
1
vote
Accepted
How do I launch a new application in a new workspace from terminal?
quite simple actually using wmctrl and sleep. This is what I did:
#!/bin/bash
wmctrl -s 0 ############################################
# Switches to first ...
1
vote
Dumb Noob question: Terminal is stuck in bash edit mode
Just switch the user back to your normal user (username)
su username
Additional you can run sudo -k to emtpy the password cache, so next time you run a sudo command you have to enter the password ...
1
vote
Custom keyboard shortcut now activating after second press
I answered this immediately after posting this and in so doing found a potential bug.
I went to delete the shortcut and reestablish it from scratch.
When I went to copy the path to the script I ...
1
vote
What is the most simplest way to change (fix) the colors in the terminal (bash)
In the terminal, you can use the following command.
gsettings set io.elementary.terminal.settings background '#090921111a1b'
The Hash #090921111a1b is broken down to #RRRRGGGGBBBB in base16 0-f
...
1
vote
What is the most simplest way to change (fix) the colors in the terminal (bash)
Try Elementary Tweaks, as described here (https://itsfoss.com/install-elementary-tweaks-in-elementary-os-freya-luna/). It will appear in Settings panel.
1
vote
Accepted
How to Share the environment Paths between Bash, fish and zsh shells
These shells do not use the same configuration files. Normally the PATH environment variable is set in /etc/profile and ~/.profile which are files read by bash (and dash) but by neither of fish or zsh....
1
vote
.bashrc doesn't exist and doesn't work
There must be some configuration issues, as there is a .bashrc and a .profile file in a default user home directory.
You can check the default settings files in /etc/skel.
Or you might want to ...
1
vote
Syntax error after running every command in tmux
Using an editor such as nano or vim, Add the line
unset PROMPT_COMMAND
to your .bashrc file, and it will take effect on the next session.
To apply the change immediately for the life of the current ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
bash × 26pantheon-terminal × 9
command-line × 5
zsh × 3
keyboard-shortcuts × 2
grub × 2
shell × 2
script × 2
release-loki × 1
release-juno × 1
settings × 1
system × 1
release-odin × 1
icons × 1
ubuntu × 1
notifications × 1
workspace × 1
error × 1
accessibility × 1
fish × 1