alias >> fish
This commit is contained in:
parent
20926946e1
commit
5416b5f13f
5 changed files with 42 additions and 35 deletions
|
|
@ -1,5 +1,33 @@
|
|||
{ 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 --progress --stats ~/.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";
|
||||
};
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
interactiveShellInit = "fish_add_path ${config.xdg.dataHome}/npm/packages/bin";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue