-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.fish
43 lines (33 loc) · 1.68 KB
/
config.fish
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Brian's Fish config circa 2019
#
# Don't say anything!
set fish_greeting
# Use nvim as the standard editor
# -x stands for export (or make an environment var)
set -x EDITOR 'nvim -f'
# Use ripgrep with FZF to make sure that follow things and respect the ignore
# - Check the ~/.ripgreprc file if you want to see what other things are set by default
# --files: List files that would be searched but do not search
# --no-ignore: Do not respect .gitignore, etc...
# --hidden: Search hidden files and folders
# --follow: Follow symlinks
# --glob: Additional conditions for search (in this case ignore everything in the .git/ folder)set FZF_DEFAULT_COMMAND='rg --files --no-ignore --hidden --follow --glob "!.git/*"'
set -x FZF_DEFAULT_COMMAND 'rg --files'
# Use ASDF as the standard package manager for ruby, elixir, and node
# source ~/.asdf/asdf.fish
# Setting some personal Alias's
alias c="clear"
alias v="nvim"
alias gitconf="nvim ~/.gitconfig"
alias fishconf="nvim ~/.config/fish/config.fish"
alias tmuxconf="nvim ~/.tmux.conf"
alias vimconf="nvim ~/.config/nvim/init.vim"
alias fishreload="source ~/.config/fish/config.fish"
alias bat="bat --theme OneHalfLight"
alias ls="exa"
alias daily="/Users/briantenggren/projects/notion-templating/create_daily_notion.clj"
alias gh="git for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'"
alias be="bundle exec"
alias bird="bundle install; bundle exec rake db:migrate; bundle exec rake db:test:prepare"
alias br="bin/rspec"
source /opt/homebrew/opt/asdf/asdf.fish