-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# The next Aliases must be pasted at the end of ~/.bashrc file | ||
|
||
alias gvim='gvim -p --remote-tab-silent' | ||
alias ievms='curl -s https://raw.githubusercontent.com/xdissent/ievms/master/ievms.sh | bash' | ||
|
||
|
||
# GIT BRANCH FUNC | ||
parse_git_branch () { | ||
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | ||
} | ||
|
||
# COLORS | ||
RED="\[\033[01;31m\]" | ||
YELLOW="\[\033[01;33m\]" | ||
GREEN="\[\033[01;32m\]" | ||
NO_COLOR="\[\033[00m\]" | ||
BLUE="\[\033[01;34m\]" | ||
|
||
# SET PS1 WITH GIT BRANCH AND COLORS. | ||
PS1="$BLUE\u@\h$GREEN:[\W]$RED\$(parse_git_branch)$NO_COLOR\$ " |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[flake8] | ||
# D100 missing docstring in public module | ||
# E501 line too long | ||
ignore = D100,E501 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
git config --global alias.co checkout | ||
git config --global alias.ci commit | ||
git config --global alias.st status | ||
git config --global alias.br branch |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
// Themes | ||
"workbench.colorTheme": "Material Theme", | ||
"workbench.iconTheme": "material-theme-icons", | ||
// Editor | ||
"editor.fontFamily": "Operator Mono", | ||
"editor.cursorBlinking": "phase", | ||
"editor.dragAndDrop": false, | ||
"editor.fontLigatures": true, | ||
"editor.fontWeight": "300", | ||
"editor.wordWrap": "on", | ||
"editor.fontSize": 18, | ||
"editor.tabSize": 2, | ||
// Suggestions | ||
"html.suggest.angular1": false, | ||
"html.suggest.ionic": false, | ||
"php.suggest.basic": false, | ||
// Formatting | ||
"editor.formatOnSave": true, | ||
// Emmet | ||
"emmet.syntaxProfiles": { | ||
"javascript": "jsx" | ||
}, | ||
// JSON | ||
"json.format.enable": true, | ||
// Npm | ||
"npm-intellisense.scanDevDependencies": true, | ||
// JavaScript | ||
"javascript.format.enable": false, | ||
"javascript.validate.enable": false, | ||
// Window | ||
"window.zoomLevel": 0, | ||
// Terminal | ||
"terminal.integrated.fontFamily": "Operator Mono", | ||
"terminal.integrated.fontSize": 16, | ||
// Telemetry | ||
"telemetry.enableCrashReporter": false, | ||
"telemetry.enableTelemetry": false, | ||
// Prettier | ||
"prettier.printWidth": 120, | ||
"prettier.tabWidth": 2, | ||
"prettier.singleQuote": true, | ||
"prettier.trailingComma": "all", | ||
"prettier.bracketSpacing": true, | ||
"prettier.jsxBracketSameLine": false, | ||
"prettier.parser": "babylon", | ||
"prettier.useFlowParser": false, | ||
"prettier.semi": false, | ||
"prettier.useTabs": false | ||
} |