Skip to content

Instantly share code, notes, and snippets.

View smuroff's full-sized avatar
🖖
all systems fully charged.

Alexander Smurov smuroff

🖖
all systems fully charged.
  • Yandex
  • Moscow
  • 07:02 (UTC +03:00)
  • LinkedIn in/smurov
View GitHub Profile
@smuroff
smuroff / ssh-autorun.md
Created May 9, 2019 12:13
Auto-launching ssh-agent on login
$ sudo apt-get install keychain 
  • Open ~/.bash_profile in any text editor:
$ nano ~/.bash_profile
@smuroff
smuroff / git-comletion.md
Created May 9, 2019 12:11
Bash completion for git commands

Before start make sure where is git-completion script is installed. Usually it's located in following paths:

  • /etc/bash_completion.d/git
  • /usr/share/bash-completion/completions/git

  • Open ~/.bashrc file in text editor (I prefer nano):
$ nano ~/.bashrc