introduce 'to_home' and systemd user services
- frappy is now a systemd user service - add 'frappy' and 'boxweb' bash function
This commit is contained in:
13
to_home/.config/linse_profile
Normal file
13
to_home/.config/linse_profile
Normal file
@ -0,0 +1,13 @@
|
||||
alias dir='ls -alF'
|
||||
export EDITOR=nano
|
||||
|
||||
. ~/.config/linse_setuser
|
||||
|
||||
function gitea_git() (
|
||||
for repo in "$@"; do
|
||||
cd ~/$repo
|
||||
scp -q -r -o BatchMode=yes -o StrictHostKeyChecking=no l_samenv@linse-c:gitea/hooks .git/
|
||||
grep -q 'https://gitea.psi.ch' .git/config || git remote set-url origin https://gitea.psi.ch/linse/${repo}.git
|
||||
grep -q "$PWD/.git/hooks/get_gitea_token" .git/config || git config credential.helper "$PWD/.git/hooks/get_gitea_token"
|
||||
done
|
||||
)
|
Reference in New Issue
Block a user