Skip to content

Commit

Permalink
2022-11-08 12:32:00
Browse files Browse the repository at this point in the history
  • Loading branch information
taupiqueur committed Nov 8, 2022
1 parent 800af2d commit b82c4f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 25 deletions.
1 change: 1 addition & 0 deletions .bash_history
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

23 changes: 2 additions & 21 deletions .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,6 @@
# https://gnu.org/software/bash/
# https://gnu.org/software/bash/manual/bash.html

# Starship
# https://starship.rs
eval "$(starship init bash)"
bind -x '"\C-l":"clear"'

# McFly
# https://github.com/cantino/mcfly
export MCFLY_LIGHT=TRUE
eval "$(mcfly init bash)"

# zoxide
# https://github.com/ajeetdsouza/zoxide
eval "$(zoxide init bash)"

# opam configuration
eval "$(opam env)"

Expand All @@ -26,6 +12,7 @@ eval "$(opam env)"
# Enable Bash completion on macOS.
[ -r /opt/homebrew/etc/profile.d/bash_completion.sh ] && . /opt/homebrew/etc/profile.d/bash_completion.sh

# Prompt -----------------------------------------------------------------------
# Environment variables --------------------------------------------------------

# Bash history size
Expand Down Expand Up @@ -122,8 +109,7 @@ alias gw='git add'
alias gw.='gw .'
alias gst='git status'
alias gdiff='git diff'
alias gb='git branch'
alias gco='git checkout'
alias gb='git branch | fzy | xargs git switch'
# Log
# https://git-scm.com/docs/git-log
alias gl='git log'
Expand Down Expand Up @@ -188,11 +174,6 @@ alias y=yt-dlp
# https://pandoc.org
alias pandoc='pandoc --pdf-engine tectonic'

# Ruby on Rails
# https://rubyonrails.org
alias r=rails
alias rr='rails routes --grep'

# Package managers -------------------------------------------------------------

# macOS
Expand Down
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
.bash_history
.config/env
.config/gh/config.yml
.config/gh/hosts.yml
.config/mpv/watch_later
.local/share/zoxide/db.zo
.mcfly/history.db
.ssh/control_masters
.ssh/id_ed25519
.ssh/id_ed25519_*
.ssh/known_hosts
Expand Down

0 comments on commit b82c4f0

Please sign in to comment.