33 lines
2 KiB
Nix
33 lines
2 KiB
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
home.shellAliases = {
|
|
top = "btm --battery";
|
|
linkbox = "ln -s (pwd) ~/box/";
|
|
rloft = "tmux source-file ~/.config/tmux/rloft.conf";
|
|
liftbox = "rsync -vaL --delete ~/box/ tstraube@login.server.uni-frankfurt.de:box/";
|
|
ktiubox = "rsync -vaL --delete ~/box/ root@ktiu.net:/var/www/html/box/";
|
|
ymd = "date +'%Y-%m-%d'";
|
|
pulluni = "ssh tstraube@login.server.uni-frankfurt.de \"cd uni-tstraube && git pull\"";
|
|
pullstat = "ssh tstraube@login.server.uni-frankfurt.de \"cd stat24 && git pull\"";
|
|
pullds = "ssh tstraube@login.server.uni-frankfurt.de \"cd ds23 && git pull\"";
|
|
pullmla = "ssh tstraube@login.server.uni-frankfurt.de \"cd malta23 && git pull\"";
|
|
pulldkg = "ssh till@geocom.uni-frankfurt.de \"cd /var/www/dkg_lp && git pull\"";
|
|
pullgrid = "ssh till@geocom.uni-frankfurt.de \"cd /var/www/grid && git pull\"";
|
|
pullsneak = "ssh till@geocom.uni-frankfurt.de \"cd /var/www/dkg_lp_prev && git pull\"";
|
|
pullkhole = "ssh root@ktiu.net \"cd /var/www/karaoke && git pull\"";
|
|
buildfk = "curl -X POST -d '{}' https://api.netlify.com/build_hooks/65dc8705b91d7cbaf0a1e1b5";
|
|
showbox = "chromium-browser -app=https://user.uni-frankfurt.de/~tstraube/box";
|
|
showc = "chromium-browser -app=https://user.uni-frankfurt.de/~tstraube/c/";
|
|
castget = "castget -prvC ~/.config/castget/castget.conf";
|
|
castsync = "rsync -va --remove-source-files ~/.local/share/podcasts/ /run/media/till/CLIP\\ JAM/Podcasts/";
|
|
cb = "cd $(sed 's|^file://||' /home/till/.config/gtk-3.0/bookmarks | fzf --height 10% --reverse)";
|
|
univpn = "secret-tool lookup server uni-frankfurt.de account tstraube | sudo openconnect --config=/home/till/.config/openconnect/config --passwd-on-stdin";
|
|
v = "nvim";
|
|
r = "R --no-save --no-restore";
|
|
R = "R --no-save --no-restore";
|
|
cdg = "cd \$(git rev-parse --show-toplevel)";
|
|
map = "telnet mapscii.me";
|
|
weather = "curl wttr.in/frankfurt";
|
|
};
|
|
}
|