Skip to content

Commit

Permalink
config files
Browse files Browse the repository at this point in the history
  • Loading branch information
charce36 committed May 14, 2017
1 parent a6b31d1 commit 9e9e396
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .bashrc-file
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\$ "
4 changes: 4 additions & 0 deletions .flake8
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
4 changes: 4 additions & 0 deletions git-config
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
50 changes: 50 additions & 0 deletions vscode.old.json
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
}

0 comments on commit 9e9e396

Please sign in to comment.