Created
August 24, 2018 14:52
-
-
Save doct0rX/f503ef28f80d57a7c85747d4244b37d4 to your computer and use it in GitHub Desktop.
Revisions
-
doct0rX created this gist
Aug 24, 2018 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,33 @@ # alis for opening Google Chrome from linux root user --kali alias chr="gksu -u chromeuser google-chrome" # alias for opening files from the CLI alias open="nautilus" # some more ls aliases alias ll='ls -l' alias la='ls -A' alias l='ls -CF' # Alias definitions. # You may want to put all your additions into a separate file like # ~/.bash_aliases, instead of adding them here directly. # See /usr/share/doc/bash-doc/examples in the bash-doc package. if [ -f ~/.bash_aliases ]; then . ~/.bash_aliases fi # this function for running VS Code Command line code as a root user on linux # copy the code in your ~/.bashrc or # ~/bash_profile and you can run the vscode editor typing [codee] and you're welcome to change the name of the fucntion; # and if you have a better name or implementation for it leave it in a commnet below -- i'd be happy; function codee() { if [ -z "$1" ] then code . --use-data-dir="."; else code "$1" --user-data-dir="."; fi return 0; }