[shell] moved to a single directory + alias.sh

This commit is contained in:
2024-07-28 16:18:45 +03:00
parent 2de1ebcfef
commit 9876c30d6d
4 changed files with 6 additions and 2 deletions

View File

@@ -7,8 +7,8 @@
- link: - link:
~/.tmux.conf: tmux.conf ~/.tmux.conf: tmux.conf
~/.vim: vim ~/.vim: vim
~/.zshrc: zsh/zshrc ~/.zshrc: shell/zsh/zshrc
~/.bashrc: bash/bashrc ~/.bashrc: shell/bash/bashrc
- asdf: - asdf:
- plugin: vim - plugin: vim

2
shell/alias.sh Normal file
View File

@@ -0,0 +1,2 @@
alias l="ls -lah"
alias lg="lazygit"

View File

@@ -1,4 +1,5 @@
source ~/.dotfiles/git/git-prompt.sh source ~/.dotfiles/git/git-prompt.sh
source ~/.dotfiles/shell/alias.sh
PROMPT_COMMAND='PS1_CMD1=$(__git_ps1 " [%s]")'; PS1='\[\e[38;5;117m\]\u\[\e[0m\] \w${PS1_CMD1}\$ ' PROMPT_COMMAND='PS1_CMD1=$(__git_ps1 " [%s]")'; PS1='\[\e[38;5;117m\]\u\[\e[0m\] \w${PS1_CMD1}\$ '
# #

View File

@@ -1,3 +1,4 @@
source ~/.dotfiles/shell/alias.sh
eval "$(/opt/homebrew/bin/brew shellenv)" eval "$(/opt/homebrew/bin/brew shellenv)"
if type brew &>/dev/null if type brew &>/dev/null
then then