working
This commit is contained in:
parent
785a2f9dc5
commit
c59c132d91
3 changed files with 2 additions and 34 deletions
|
|
@ -2,29 +2,12 @@
|
|||
{
|
||||
home.shellAliases = {
|
||||
top = "btm --battery";
|
||||
linkbox = "ln -s (pwd) ~/box/";
|
||||
rloft = "tmux source-file ~/.config/tmux/rloft.conf";
|
||||
liftbox = "tar czf - -C ~/box/ . | ssh tstraube@login.server.uni-frankfurt.de 'tar xzf - -C ~/box'";
|
||||
ktiubox = "rsync -vaL --delete ~/box/ root@ktiu.net:/var/www/html/box/";
|
||||
ymd = "date +'%Y-%m-%d'";
|
||||
dmy = "date +'%-d.-%-m.%Y'";
|
||||
pulluni = "ssh tstraube@login.server.uni-frankfurt.de \"cd uni-tstraube && git pull\"";
|
||||
pullstat = "tar czf - -C ~/teach/2025_statistik/skript/public/ . | ssh tstraube@login.server.uni-frankfurt.de 'tar xzf - -C ~/public_html/c/stat25'";
|
||||
pullgrid = "ssh till@geocom.uni-frankfurt.de \"cd /var/www/grid && git pull && npm run build\"";
|
||||
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/";
|
||||
musicsync = "rsync -va --ignore-existing --progress --stats ~/media/music/sync/ /run/media/till/CLIP\\ JAM/Music/";
|
||||
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;
|
||||
|
|
@ -38,14 +21,6 @@
|
|||
|
||||
function fish_greeting; end
|
||||
|
||||
function pod --description 'Full service podcast refresh'
|
||||
castget
|
||||
udisksctl mount -b /dev/disk/by-label/CLIP\\x20JAM
|
||||
musicsync
|
||||
castsync
|
||||
udisksctl unmount -b /dev/disk/by-label/CLIP\\x20JAM
|
||||
end
|
||||
|
||||
function startrloft --description 'Starts R with custom environment'
|
||||
set -lx R_ENVIRON_USER "~/.config/rloft/RLoft_environ"
|
||||
R -q
|
||||
|
|
@ -63,10 +38,6 @@
|
|||
end
|
||||
end
|
||||
|
||||
function lipsum --description 'Create placeholder text'
|
||||
nix-shell -p perl536Packages.TextLorem --run 'lorem '(echo $argv)
|
||||
end
|
||||
|
||||
set -U fish_prompt_pwd_dir_length 0
|
||||
|
||||
function fish_prompt --description "Write out the prompt"
|
||||
|
|
@ -94,7 +65,7 @@
|
|||
set __fish_git_prompt_char_upstream_ahead '+'
|
||||
set __fish_git_prompt_char_upstream_behind '-'
|
||||
|
||||
test -f '/home/till/.config/netlify/helper/path.fish.inc' && source '/home/till/.config/netlify/helper/path.fish.inc'
|
||||
test -f ${config.xdg.configHome}/alias.fish && source ${config.xdg.configHome}/alias.fish
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue