Skip to content

Instantly share code, notes, and snippets.

@Raphhh
Last active February 16, 2016 13:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Raphhh/02184d104b892fd9b9e6 to your computer and use it in GitHub Desktop.
Save Raphhh/02184d104b892fd9b9e6 to your computer and use it in GitHub Desktop.
set some aliases on linux
alias xphp='php -dxdebug.remote_enable=1 -dxdebug.remote_autostart=1'
alias dumpath='echo $PATH | tr ":" "\n"'
alias adduserpath='echo 'PATH="$1:$PATH"' >> ~/.profile'
@Raphhh
Copy link
Author

Raphhh commented Feb 16, 2016

if you use zsh, you need to add to .zshrc:

source ~/.bash_aliases

or

if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment