1
0
mirror of https://github.com/drewcassidy/dotfiles synced 2024-09-01 18:24:06 +00:00

Compare commits

...

4 Commits

Author SHA1 Message Date
1dfbcd22a7 remove atom config 2020-11-09 13:53:15 -08:00
bc2b8eb150 update fishline 2020-11-09 13:47:44 -08:00
f52507ac26 simplify zshrc and relegate it to backup shell 2020-10-26 01:21:45 -07:00
9a8c89db5a update fish config and fishline 2020-10-26 01:18:42 -07:00
11 changed files with 22 additions and 197 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
fish/.config/fish/fish_variables

2
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "fishline-fork"]
path = fish/.config/fish/fishline
url = https://github.com/drewcassidy/fishline
url = git@github.com:0rax/fishline.git

10
.zshrc
View File

@ -4,9 +4,11 @@ export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
export PATH="$PATH:$HOME/Scripts"
export PKG_CONFIG_PATH="/Library/Frameworks/Mono.framework/Versions/4.6.2/lib/pkgconfig":$PKG_CONFIG_PATH
# added by travis gem
[ -f /Users/drewcassidy/.travis/travis.sh ] && source /Users/drewcassidy/.travis/travis.sh
# setup completion
autoload -Uz compinit
compinit
# setup histfile
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
@ -15,7 +17,7 @@ unsetopt nomatch
bindkey -e
# colorize commands
# alias ls='ls -G'
alias ls='ls -G'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
@ -24,5 +26,3 @@ alias egrep='egrep --color=auto'
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
export CLICOLOR=1
export LSCOLORS='ExcxdxfxgxxexcxdxfBxBx'
eval $(/usr/libexec/path_helper -s)

View File

@ -1,76 +0,0 @@
"*":
"autoclose-html":
makeNeverCloseSelfClosing: false
core:
disabledPackages: [
"language-clojure"
"language-go"
"language-mustache"
"ide-csharp"
]
ignoredNames: [
".git"
".hg"
".svn"
".DS_Store"
"._*"
"Thumbs.db"
"desktop.ini"
".sass-cache"
]
packagesWithKeymapsDisabled: [
"jekyll"
]
telemetryConsent: "limited"
themes: [
"one-dark-ui"
"base16-syntax"
]
titleBar: "custom"
editor:
preferredLineLength: 120
scrollPastEnd: true
showIndentGuide: true
tabLength: 4
"exception-reporting":
userId: "c6ecdfe6-c496-4331-937d-5bb16acf637e"
"highlight-selected": {}
jekyll: {}
"markdown-preview":
useGitHubStyle: true
minimap: {}
"tree-view":
hideIgnoredNames: true
squashDirectoryNames: true
"vim-mode-plus":
blackholeRegisteredOperators: [
"delete*"
"substitute*"
]
keymapYToYankToLastCharacterOfLine: true
welcome:
showOnStartup: false
".basic.html.text":
editor:
softWrap: true
".css.liquid.scss.source":
editor:
softWrapHangingIndent: 2
".css.scss.source":
editor:
softWrapHangingIndent: 2
".css.source":
editor:
softWrapHangingIndent: 2
tabType: "soft"
".python.source":
editor:
autoIndentOnPaste: true
".sass.source":
editor:
softWrapHangingIndent: 2
tabType: "soft"
".source.yaml":
editor:
autoIndentOnPaste: false
tabLength: 2

View File

@ -1 +0,0 @@
# Store non-visible GitHub package state.

View File

@ -1,11 +0,0 @@
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
# console.log "Saved! #{editor.getPath()}"

View File

@ -1,32 +0,0 @@
# Your keymap
#
# Atom keymaps work similarly to style sheets. Just as style sheets use
# selectors to apply styles to elements, Atom keymaps use selectors to associate
# keystrokes with events in specific contexts. Unlike style sheets however,
# each selector can only be declared once.
#
# You can create a new keybinding in this file by typing "key" and then hitting
# tab.
#
# Here's an example taken from Atom's built-in keymap:
#
# 'atom-text-editor':
# 'enter': 'editor:newline'
#
# 'atom-workspace':
# 'ctrl-shift-p': 'core:move-up'
# 'ctrl-p': 'core:move-down'
#
# You can find more information about keymaps in these guides:
# * http://flight-manual.atom.io/using-atom/sections/basic-customization/#customizing-keybindings
# * http://flight-manual.atom.io/behind-atom/sections/keymaps-in-depth/
#
# If you're having trouble with your keybindings not working, try the
# Keybinding Resolver: `Cmd+.` on macOS and `Ctrl+.` on other platforms. See the
# Debugging Guide for more information:
# * http://flight-manual.atom.io/hacking-atom/sections/debugging/#check-the-keybindings
#
# This file uses CoffeeScript Object Notation (CSON).
# If you are unfamiliar with CSON, you can read more about it in the
# Atom Flight Manual:
# http://flight-manual.atom.io/using-atom/sections/basic-customization/#configuring-with-cson

View File

@ -1,37 +0,0 @@
# Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#
# '.source.coffee':
# 'Console log':
# 'prefix': 'log'
# 'body': 'console.log $1'
#
# Each scope (e.g. '.source.coffee' above) can only be declared once.
#
# This file uses CoffeeScript Object Notation (CSON).
# If you are unfamiliar with CSON, you can read more about it in the
# Atom Flight Manual:
# http://flight-manual.atom.io/using-atom/sections/basic-customization/#_cson
'.source.gfm':
'Image':
'prefix': 'image'
'body': """
{% include figure-image.html
src="$1"
alt="$2" %}
"""
'Image Gallery':
'prefix': 'gallery'
'body': """
{% include figure-gallery.html
src="$1"
alt="$2" %}
"""

View File

@ -1,23 +0,0 @@
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up
* and is reloaded automatically
* when it is changed and saved.
*
* Add your own CSS or Less to fully customize Atom.
* If you are unfamiliar with Less, you can read more about it here:
* http://lesscss.org
*/
// enable Fira Code with ligatures
atom-text-editor {
font-family: fira code;
text-rendering: optimizeLegibility;
}
// disable ligatures in quoted strings
atom-text-editor.editor .syntax--string.syntax--quoted,
atom-text-editor.editor .syntax--string.syntax--regexp {
-webkit-font-feature-settings: "liga" off, "calt" off;
}

View File

@ -1,18 +1,22 @@
set -gxa PATH /usr/local/opt/curl/bin
set -gxa PATH /usr/local/opt/ruby/bin
set -gxa PATH /usr/local/opt/openssl/bin
set -gxa PATH /usr/local/opt/qt/bin
set -gxa PATH /usr/local/opt/llvm/bin
set -gxa PATH /opt/local/bin /opt/local/sbin
set -gxa PATH /usr/local/bin /usr/local/sbin
set -gxa PATH ~/.dotnet/tools
set -gxa PATH ~/Library/Python/2.7/bin
set -gxa PATH ~/Library/Python/3.8/bin
set -gxa PATH ~/.gem/ruby/2.7.0/bin
if status is-interactive
# setup location variables
set FISH_PATH "$HOME/.config/fish"
set FLINE_PATH "$FISH_PATH/fishline"
set -gx HOMEBREW_NO_AUTO_UPDATE 1
set -gx PATH /usr/local/opt/curl/bin $PATH
set -gx PATH /usr/local/opt/ruby/bin $PATH
set -gx PATH /usr/local/opt/openssl/bin $PATH
set -gx PATH /usr/local/opt/qt/bin $PATH
set -gx PATH /usr/local/opt/llvm/bin $PATH
set -gx PATH ~/.dotnet/tools $PATH
set -gx PATH ~/Library/Python/2.7/bin $PATH
set -gx PATH ~/Library/Python/3.8/bin $PATH
set -gx PATH ~/.gem/ruby/2.6.0/bin $PATH
set -gx PATH /opt/local/bin /opt/local/sbin $PATH
set -gx PKG_CONFIG_PATH /usr/local/opt/openssl/lib/pkgconfig $PKG_CONFIG_PATH
set -gx PKG_CONFIG_PATH /usr/local/opt/libffi/lib/pkgconfig $PKG_CONFIG_PATH