All Questions
19
questions
2
votes
0
answers
101
views
Why is `~/.zlogout` not sourced when non-interactive ZSH shell runs `exit`?
My ~/.zlogout contains the following:
echo '~/.zlogout!'
Let's run the following script:
su user -ls /bin/zsh -c 'echo kaasbier; exit'
Nothing is echoed (besides the kaasbier). I am testing this in ...
1
vote
0
answers
79
views
What means "bind c screen" in .screenrc config?
I only want to understand what the lines in this .screenrc config does:
bind c screen 1
bind ^c screen 1
bind 0 select 10
screen 1
I found the config here:
https://wiki.archlinux.org/
Through this my ...
0
votes
0
answers
43
views
Symlink one directory, its contents and file structure to target directory, with automatic updates
Asked something similar a while ago in Unix&Linux but got yelled at, so will try again...
Let me take a directory called DIR with the structure
DIR/
|----> file1.txt
|----> file2.txt
|----&...
1
vote
1
answer
2k
views
Copy single dotfile from a folder to another on local machine
Before you downvote, I have read the following solutions:
How do I copy file named starting with a dot?
How to copy with cp to include hidden files and hidden directories and their contents?
Linux / ...
2
votes
1
answer
156
views
What is ranger's show_hidden_bookmarks setting good for?
Ranger's man page states:
show_hidden_bookmarks [bool]
Show dotfiles in the bookmark preview window? (Type ')
I played around with it but can not figure out what it actually does. My bookmark ...
2
votes
1
answer
9k
views
Exclude hidden folders using rsync, but Include specific hidden folders and include all hidden files
There are a lot of posts about rsync exclude being particular, I know, and I've spent some time digging myself for a solution, but thought it more expedient to defer to community mind power, which I'm ...
0
votes
1
answer
220
views
bash automatically executing a tool-specific configuration file on login
My project uses an internal tool on Linux, that uses a file called .spacerc for configuring some environmental variables.
The strange thing is, whenever I start a (non-login interactive) bash shell - ...
1
vote
1
answer
306
views
Hide dot files using ftp with Windows Explorer (Linux backend)
The company who I used to host my websites with has just been sold to another (site5.com), and my websites have been migrated.
With the original company, if one was to view a remote directory using ...
2
votes
1
answer
345
views
Managing multiple subsets of dotfiles
I'm using git to store my dotfiles, but now that I've started using multiple implementations of Linux, I'm finding that my dotfiles between flavors diverge a bit, depending on what I'm using that ...
6
votes
1
answer
2k
views
zsh - differentiate between source ~/.zshrc and shell initially reading .zshrc
Is there a command or environment variable that I can test for in my ~/.zshrc that that would differentiate between when I run source ~/.zshrc to update my configuration and when the shell reads ~/....
2
votes
2
answers
333
views
How to Keep Dot-Files up to date?
I've got two computers, one at work and one at home. The work one has a VM running Arch, and the home one runs Arch natively. The work one usually stays at work, but push a lot of stuff back and ...
1
vote
1
answer
2k
views
Get the ip address from ifconfig
I was updating my shell dot file, and I thought that it would be nice to have an alias that show just my ip.
I usually connect with wifi, which is on wlan0 and it's the last "block" of devices.
So I'...
1
vote
1
answer
387
views
How to add files to dotfile-castle with homesick?
So I've setup my dotfiles repo on github and installed homesick to manage my dotfiles. So now I happend to have a clone of the repo on my local machine but also a cloned CASTLE (~/.homesick/repo/...
1
vote
1
answer
94
views
How can I put my skype notification settings in a public git repo
I maintain key configuration files in a public git repo - I'd like to put my skype configuration in it too, because I find the default configuration way too noisy.
The newer version has started ...
1
vote
2
answers
404
views
Can gnu screen prompt for a title when a new window is created?
There are a number of questions about automatically naming screen windows based on what's running in them.
But sometimes why you created the window is more important than what you're doing in it.
...