diff options
author | Suleyman Farajli <suleyman@farajli.net> | 2024-02-18 18:19:38 +0400 |
---|---|---|
committer | Suleyman Farajli <suleyman@farajli.net> | 2024-02-18 18:19:38 +0400 |
commit | 89fe615f586345f197689a28b5c84e9df3acd10f (patch) | |
tree | 8397b6ede2e6696e6002e4c1fc7bee3b148f525a | |
parent | 3cc7c54d05dda6aa935a312789a0669d88ba3e17 (diff) |
user_profile was removed
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | build.sh | 6 | ||||
-rw-r--r-- | src/dotfiles/zsh/user_profile | 19 | ||||
-rwxr-xr-x | src/dotfiles/zsh/zshrc | 20 |
4 files changed, 21 insertions, 25 deletions
@@ -6,3 +6,4 @@ configure.ac dock.png xinitrc Makefile +user_profile @@ -26,10 +26,6 @@ archlinux_install() { } profile_install() { - COPY ./src/dotfiles/zsh/user_profile "$home_dir/.profile" - LINK "$home_dir/.profile" "$home_dir/.zprofile" || echo "WARNING: Couldn't link .zprofile to .profile" - LINK "$home_dir/.profile" "$home_dir/.bash_profile" || echo "WARNING: Couldn't link .bash_profile to .profile" - [ -d /etc/profile.d ] || { sudo mkdir /etc/profile.d && printf "/etc/profile.d directory created" ; } as_sudo COPY ./src/etc/profile.d/theion.sh /etc/profile.d || echo "Couldn't install to /etc/profile.d" } @@ -55,10 +51,8 @@ exit 2 for argument in $@;do if [ $argument = "--force" ];then COPY(){ $SUDO cp -r $@; } - LINK(){ ln -sf $@; } break fi - LINK(){ ln -s $@; } COPY(){ $SUDO cp -nr $@; } done diff --git a/src/dotfiles/zsh/user_profile b/src/dotfiles/zsh/user_profile deleted file mode 100644 index fab1b0e..0000000 --- a/src/dotfiles/zsh/user_profile +++ /dev/null @@ -1,19 +0,0 @@ -# Aliases -[ -f $XINITRC ] && alias startx="startx $XINITRC" -[ -x "$(command -v nvim)" ] && alias vim="nvim" -alias ls="ls -A --color=auto" -alias ping="ping -c 2" -alias clear="clear -x" -alias open="xdg-open" -alias lf="lfcd" -alias vim="nvim" -alias touchOn="synclient TouchpadOff=0" -alias touchOff="synclient TouchpadOff=1" - -# Systemd and Arch linux specific aliases -alias pacman="sudo pacman" -alias systemctl="sudo systemctl" -alias arch-wiki="cd /usr/share/doc/arch-wiki/html/en/" -alias is="systemctl stop NetworkManager" -alias blue="sudo systemctl start bluetooth" -alias net="sudo systemctl start NetworkManager" diff --git a/src/dotfiles/zsh/zshrc b/src/dotfiles/zsh/zshrc index 873f29d..384e3f6 100755 --- a/src/dotfiles/zsh/zshrc +++ b/src/dotfiles/zsh/zshrc @@ -68,3 +68,23 @@ setopt interactive_comments unsetopt nomatch setopt INC_APPEND_HISTORY # Adds command to history when they are run setopt HIST_FIND_NO_DUPS # Doesn't show duplicate commands when backward searching + +# Aliases +[ -f $XINITRC ] && alias startx="startx $XINITRC" +[ -x "$(command -v nvim)" ] && alias vim="nvim" +alias ls="ls -A --color=auto" +alias ping="ping -c 2" +alias clear="clear -x" +alias open="xdg-open" +alias lf="lfcd" +alias vim="nvim" +alias touchOn="synclient TouchpadOff=0" +alias touchOff="synclient TouchpadOff=1" + +# Systemd and Arch linux specific aliases +alias pacman="sudo pacman" +alias systemctl="sudo systemctl" +alias arch-wiki="cd /usr/share/doc/arch-wiki/html/en/" +alias is="systemctl stop NetworkManager" +alias blue="sudo systemctl start bluetooth" +alias net="sudo systemctl start NetworkManager" |