Add stuff for KDE dev

master
Taeyeon Mori 6 years ago
parent 9c346bbcf0
commit 65067880db
  1. 27
      git/config
  2. 13
      zsh/zprofile

@ -4,12 +4,29 @@
[push]
default = simple
[merge]
tool = kdiff3
[includeIf "gitdir:~/Development/KDE/"]
path = "kde.local"
# -----------------------------------------------
# Remotes
# -----------------------------------------------
# GitHub
[url "https://github.com/"]
insteadOf = git://github.com/
insteadOf = gh:
[url "git@github.com:"]
pushInsteadOf = git://github.com/
pushInsteadOf = https://github.com/
pushInsteadOf = gh:
# KDE
[url "https://anongit.kde.org/"]
insteadOf = kde:
#[url "git@github.com:"]
# insteadOf = git://github.com/
# insteadOf = https://github.com/
[url "git@git.kde.org:"]
pushInsteadOf = kde:
[url "https://aur.archlinux.org/"]
insteadOf = https://aur4.archlinux.org/

@ -70,6 +70,18 @@ if [[ ! -f "${PREFIX:-/usr}/share/terminfo/${TERM:0:1}/$TERM" ]]; then
fi
fi
#
# KDE
#
export KDE_DEVEL_HOME=$HOME/Development/KDE
if [ -d "$KDE_DEVEL_HOME" ]; then
if [ -d "$KDE_DEVEL_HOME/kdesrc-build" ]; then
KDE_SRC_BUILD="$KDE_DEVEL_HOME/kdesrc-build"
fi
else
unset KDE_DEVEL_HOME
fi
#
# Paths
@ -85,6 +97,7 @@ path=(
$HOME/.local/bin
$DOTFILES/bin
$HOME/junest/bin
$KDE_SRC_BUILD
/usr/local/{bin,sbin}
$path
)

Loading…
Cancel
Save