mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-13 22:02:34 +00:00
Making install scripts instead of stow
This commit is contained in:
@@ -6,5 +6,6 @@
|
||||
|
||||
\.git
|
||||
\.gitignore
|
||||
\setup*
|
||||
|
||||
/scripts/install-espanso-packages
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# Open dotfiles.
|
||||
|
||||
cd "$DOTFILES" && vim .
|
||||
set -e
|
||||
|
||||
test -d "${DOTFILES}" || \
|
||||
(echo "Dotfiles path not a directory or doesn't exist" && exit 1)
|
||||
|
||||
cd "${DOTFILES}" && vi .
|
||||
|
||||
6
zsh/setup
Executable file
6
zsh/setup
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
mkdir "${HOME}/.config" | true
|
||||
|
||||
ln -sfv "${PWD}/.zshenv" "${HOME}"
|
||||
ln -sfv "${PWD}/zsh" "${HOME}/.config/zsh"
|
||||
@@ -164,7 +164,9 @@ alias gco='git checkout'
|
||||
alias gcm='git commit -m'
|
||||
#alias gma() { git add . && git commit -m "$1" }
|
||||
#alias gp() { git push }
|
||||
alias gp='git push'
|
||||
alias gs='git status'
|
||||
alias vi='vim'
|
||||
|
||||
#------------------------------ local configs ------------------------------
|
||||
_source_if "$ZDOTDIR/.zshrc-local"
|
||||
1067
zsh/zsh/history
Normal file
1067
zsh/zsh/history
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user