Created
February 20, 2018 14:55
-
-
Save scicco/7b6010cc7ef54d4527e2bc1990489df5 to your computer and use it in GitHub Desktop.
using alias when launching command from ssh -c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#found here: https://stackoverflow.com/a/22540192/1488217 | |
# comment out the original line | |
# [ -z "$PS1" ] && return | |
if [ -z "$PS1" ]; then | |
shopt -s expand_aliases | |
# alias ls='ls --color=always' | |
# return | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment