11 Matching Annotations
  1. Jan 2020
  2. Dec 2019
    1. AFAIK, the right way to enable un-hindered scp is less about which conditional for stdout in your ~/.bashrc script, and more about simply restricting screen output to the ~/.bash_profile script. At least that is how it works for my distro (CentOS.) Edit for clarity: Put only lines in your ~/.bashrc file as required by "all" remote conections
  3. Aug 2018
    1. This is useful for troubleshooting issues with tools that rely on .bash_profile rather than .bashrc, which I favour. tmux is a good example. Before adding this to my .bash_profile dotfile, I had to manually source my .bashrc on tmux startup. Now, it is automatic, and this line is the reason.

  4. Dec 2017
    1. git revert HEAD

      git revert HEAD produced error: $ git revert HEAD error: There was a problem with the editor 'vi'. Please supply the message using either -m or -F option.

      Solution: change .bash_profile file to include this: export EDITOR="atom -w"

      Then save. Back on command line, use this line: source ~/.bash_profile That gets the bash file updated, and now revert works