Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions dots/.bash/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,13 @@ alias la="ls -la"
# ------------------------------------------------------------------------------

alias desk='cd ~/Desktop'
alias code='cd ~/Code'
alias dev='cd ~/Code'
alias hosts='subl /etc/hosts'

alias showFiles='defaults write com.apple.finder AppleShowAllFiles YES; killall Finder /System/Library/CoreServices/Finder.app'
alias hideFiles='defaults write com.apple.finder AppleShowAllFiles NO; killall Finder /System/Library/CoreServices/Finder.app'

alias nodemods='cd /usr/local/lib/node_modules'


# Git
Expand All @@ -50,12 +51,16 @@ alias gd="git diff"
alias gr="git rm"
alias gs="git status"
alias gco="git checkout"
alias gcm="git checkout master"
alias gpl="git pull"
alias gph="git push"
alias gl="git log --pretty=oneline"



# Laravel
# Misc
# ------------------------------------------------------------------------------

alias homestead='function __homestead() { (cd ~/Code/homestead && vagrant $*); unset -f __homestead; }; __homestead'

alias server='php -S localhost:1982'
12 changes: 10 additions & 2 deletions dots/.bash/exports
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,23 @@
# ------------------------------------------------------------------------------
# Exports
# ------------------------------------------------------------------------------
export PATH=/usr/local/sbin:$PATH
# @todo investigate why running source ~/.bash_profile does not take into account
# updates made to $PATH.

export PATH=/usr/local/opt/node@14/bin:$PATH


# PATH
# ------------------------------------------------------------------------------
export PATH=$(brew --prefix coreutils)/libexec/gnubin:$PATH
# @see https://github.com/Homebrew/legacy-homebrew/issues/19238
# @see https://apple.stackexchange.com/questions/69223/how-to-replace-mac-os-x-utilities-with-gnu-core-utilities
# export PATH=$(brew --prefix coreutils)/libexec/gnubin:$PATH



# MANPATH
# ------------------------------------------------------------------------------
export MANPATH=$(brew --prefix coreutils)/libexec/gnuman:$MANPATH
# @see https://github.com/Homebrew/legacy-homebrew/issues/19238
# @see https://apple.stackexchange.com/questions/69223/how-to-replace-mac-os-x-utilities-with-gnu-core-utilities
# export MANPATH=$(brew --prefix coreutils)/libexec/gnuman:$MANPATH
14 changes: 11 additions & 3 deletions dots/.gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,23 @@
co = checkout

[user]
name = Diego Lorenzo
email = diego@diegolorenzo.com
name = Diego Lorenzo
email = diego@diegolorenzo.com

[color]
ui = true

[core]
excludesfile = ~/.gitignore
editor = /usr/bin/vim

[push]
default = simple


[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[pull]
rebase = false
6 changes: 6 additions & 0 deletions sublime/settings/Package Control.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,17 @@
"DocBlockr",
"EditorConfig",
"Emmet",
"GitGutter",
"GraphQL",
"Jade",
"JsPrettier",
"Laravel Blade Highlighter",
"MarkdownEditing",
"Origami",
"Package Control",
"PHP Companion",
"PlainTasks",
"Pretty JSON",
"Sass",
"SublimeLinter",
"SublimeLinter-html-tidy",
Expand Down
3 changes: 3 additions & 0 deletions sublime/settings/Preferences.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@
"caret_style": "phase",
"color_scheme": "Packages/User/SublimeLinter/Twilight (SL).tmTheme",
"disable_tab_abbreviations": true,
"ensure_newline_at_eof_on_save": true,
"fade_fold_buttons": true,
"fold_buttons": true,
"font_size": 17,
"gutter": true,
"highlight_line": true,
"ignored_packages":
[
"Markdown",
"Pretty JSON",
"Vintage"
],
"indent_guide_options":
Expand Down