The .bash_profile (for bash), .profile (for sh), and .tcshrc (for tcsh) hold a special place for me. I put all the tools I need to for diagnosing system problems in these files because if someone asks me to diagnose *their* system, I can push one file and have all my tools
-
-
-
Please, share something you have inside that profile!. Thanks in advance!.
- 3 more replies
New conversation -
-
-
I intentionally don't set anything other than a few very very basic settings I know by heart in my vimrc. My reasoning is I SSH to so many different servers and boxes that I want to be comfortable on out-of-the-box VIM and not build habits on anything highly custom.
-
But, I have a ton of different aliases in my bashrc. I sometimes remember to take them with me with an SSH wrapper but not always. Them, I can type out long-form if I'm remote.
End of conversation
New conversation -
-
-
using git bare repos for easily managing (sync/restore) dotfiles would be an advise I‘d have especially for newcomers https://harfangk.github.io/2016/09/18/manage-dotfiles-with-a-git-bare-repository.html …
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Extremely useful vim plugins: junegunn/fzf (+ rg), tpope/vim-fugitive, jreybert/vimagit, christoomey/vim-tmux-navigator. Add a .tmux.conf there: vim copy-mode and bindings mainly for window/pane control/resize. .zshrc: fzf & alias to run vim on "filepath:line:" format.
-
.vimrc: Disable connecting to X server to avoid vim slow startup on remote machine (set clipboard=exclude:.*), show chars beyond column 80, map <CR> to save (:w<CR> waste time), bind windows resize, quicklist, fzf cmds, tabs & etc. Useful to define some binds with <C-r><C-W>.
End of conversation
New conversation -
-
-
I found git aliases super helpful in connection with fzf.https://github.com/codesuki/.dotfiles/blob/master/git/gitconfig#L15-L30 …
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I write a bunch of .env-${topic} files, and source them in bashrc in a loop. Beats cluttering that file. Also easier to handle with e.g. ansible. Every task can manage its own configuration.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I recently learnt there’s .gitignore_global for globally ignoring IDE and OS folders etc. Avoids having to repeatedly specify ignores in every git repo.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.