Skip to main content

All Questions

Tagged with
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 ...
Silas's user avatar
  • 39
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 ...
Senkel's user avatar
  • 11
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 |----&...
nonreligious's user avatar
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 / ...
jodobear's user avatar
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 ...
dirdi's user avatar
  • 3,275
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 ...
algalg's user avatar
  • 133
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 - ...
Yaron Shragai's user avatar
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 ...
peedurrr's user avatar
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 ...
GameKyuubi's user avatar
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 ~/....
erwin's user avatar
  • 194
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 ...
testname123's user avatar
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'...
Federico Ponzi's user avatar
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/...
Adrian Forsius's user avatar
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 ...
nishantjr's user avatar
  • 113
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. ...
funroll's user avatar
  • 129

15 30 50 per page