diff options
author | adam <56338480+adastx@users.noreply.github.com> | 2022-10-08 22:50:19 +0200 |
---|---|---|
committer | adam <56338480+adastx@users.noreply.github.com> | 2022-10-08 22:50:19 +0200 |
commit | b0da3cf5ec6121fc481d5b5315c4dc34ac423bb4 (patch) | |
tree | 1749d2e599b138c2d174fedefa92d3278d8cf1d9 /.bashrc | |
parent | e287203b1d94ed85f9de62e180f6d9bda35bd84e (diff) |
shell: moved aliases, bashrc cleanup
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 37 |
1 files changed, 6 insertions, 31 deletions
@@ -12,39 +12,14 @@ PATH="$HOME/bin:$PATH" PATH="$HOME/.local/bin:$PATH" PATH="$HOME/.dotnet/tools:$PATH" export PATH -export EDITOR=vim -export VISUAL=vim +export EDITOR=nvim +export VISUAL=nvim export PAGER="less -i -j.5 -R" -alias sudo='doas' -alias sudoedit='doasedit' - -source '/usr/share/fzf/key-bindings.bash' -source '/usr/share/fzf/completion.bash' -source "/home/adam/.local/share/cargo/env" - -alias q='exit' -alias c='clear' -alias nf='pfetch' -alias t='todo.sh' - -alias ls='exa' -alias l='ls -la' -alias lt='ls -T' -alias lh="ls -1dI '.|..' .*" - -alias gs='git status' -alias lg="git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(cyan)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all" - -alias config='/usr/bin/git --git-dir=/home/adam/.cfg/ --work-tree=/home/adam' -alias cs='config status' -alias clg="config log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(bold yellow)%d%C(reset)' --all" - -alias bashrc='vim ~/.bashrc' -alias vimrc='vim $XDG_CONFIG_HOME/vim/vimrc' -alias nvimrc='cd $XDG_CONFIG_HOME/nvim;nvim' -alias i3config='vim $XDG_CONFIG_HOME/i3/config' -alias startup='vim $XDG_CONFIG_HOME/X11/xinitrc' +source /usr/share/fzf/key-bindings.bash +source /usr/share/fzf/completion.bash +source $XDG_DATA_HOME/cargo/env +source $XDG_CONFIG_HOME/aliases eval "$(zoxide init bash)" eval "$(starship init bash)" |