Now works with Fedora
This commit is contained in:
@ -1,3 +1,13 @@
|
||||
# Aliases I like
|
||||
alias update="sudo dnf update -y && flatpak update -y"
|
||||
alias install="sudo dnf install -y"
|
||||
alias letscode="cd ~/Documents/Code && ranger ."
|
||||
alias gtext="gnome-text-editor"
|
||||
alias :q="exit"
|
||||
alias :wq="exit"
|
||||
alias cdcode="cd ~/Documents/Code"
|
||||
alias rnr="ranger"
|
||||
|
||||
# File system
|
||||
alias ls='eza -lh --group-directories-first --icons'
|
||||
alias lsa='ls -a'
|
||||
@ -6,16 +16,13 @@ alias lta='lt -a'
|
||||
alias ff="fzf --preview 'batcat --style=numbers --color=always {}'"
|
||||
|
||||
# Directories
|
||||
alias ..='cd ..'
|
||||
alias ...='cd ../..'
|
||||
alias ....='cd ../../..'
|
||||
alias cd..='cd ..'
|
||||
alias cd...='cd ../..'
|
||||
alias cd....='cd ../../..'
|
||||
|
||||
# Tools
|
||||
alias n='nvim'
|
||||
alias g='git'
|
||||
alias d='docker'
|
||||
alias r='rails'
|
||||
alias bat='batcat'
|
||||
|
||||
# Git
|
||||
alias gcm='git commit -m'
|
||||
|
@ -1,5 +0,0 @@
|
||||
eval "$(rbenv init - bash)"
|
||||
eval "$(nodenv init -)"
|
||||
eval "$(zoxide init bash)"
|
||||
eval "$(zellij setup --generate-auto-start bash)"
|
||||
source /usr/share/doc/fzf/examples/key-bindings.bash
|
@ -1,18 +1,8 @@
|
||||
set meta-flag on
|
||||
set input-meta on
|
||||
set output-meta on
|
||||
set convert-meta off
|
||||
set completion-ignore-case on
|
||||
set completion-prefix-display-length 2
|
||||
set show-all-if-ambiguous on
|
||||
set show-all-if-unmodified on
|
||||
|
||||
# Arrow keys match what you've typed so far against your command history
|
||||
"\e[A": history-search-backward
|
||||
"\e[B": history-search-forward
|
||||
"\e[C": forward-char
|
||||
"\e[D": backward-char
|
||||
|
||||
# Immediately add a trailing slash when autocompleting symlinks to directories
|
||||
set mark-symlinked-directories on
|
||||
|
||||
|
7
defaults/bash/powerline
Normal file
7
defaults/bash/powerline
Normal file
@ -0,0 +1,7 @@
|
||||
# Powerline configuration
|
||||
if [ -f /usr/bin/powerline-daemon ]; then
|
||||
powerline-daemon -q
|
||||
POWERLINE_BASH_CONTINUATION=1
|
||||
POWERLINE_BASH_SELECT=1
|
||||
source /usr/share/powerline/bash/powerline.sh
|
||||
fi
|
@ -1,5 +0,0 @@
|
||||
force_color_prompt=yes
|
||||
color_prompt=yes
|
||||
|
||||
PS1=$'\uf0a9 '
|
||||
PS1="\[\e]0;\w\a\]$PS1"
|
@ -1,4 +1,3 @@
|
||||
source ~/.local/share/omakub/defaults/bash/shell
|
||||
source ~/.local/share/omakub/defaults/bash/aliases
|
||||
source ~/.local/share/omakub/defaults/bash/prompt
|
||||
source ~/.local/share/omakub/defaults/bash/init
|
||||
source ~/.local/share/omakub/defaults/bash/powerline
|
||||
|
@ -4,11 +4,10 @@ HISTCONTROL=ignoreboth
|
||||
HISTSIZE=32768
|
||||
HISTFILESIZE="${HISTSIZE}"
|
||||
|
||||
# Autocompletion
|
||||
source /usr/share/bash-completion/bash_completion
|
||||
export SUNHAT_PATH="/home/$USER/.local/share/sunhat"
|
||||
export BUN_INSTALL="$HOME/.bun"
|
||||
|
||||
# Set complete path
|
||||
export PATH="./bin:$HOME/.local/bin:$HOME/.local/share/omakub/bin:$HOME/.rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
|
||||
export PATH="./bin:$HOME/.local/bin:$HOME/$SUNHAT_PATH/bin:$HOME/.rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$BUN_INSTALL/bin"
|
||||
set +h
|
||||
|
||||
export OMAKUB_PATH="/home/$USER/.local/share/omakub"
|
||||
|
Reference in New Issue
Block a user