init-tramp.el 672 B

12345678910111213141516171819202122
  1. ;;; init-tramp.el --- Tramp Configuration File -*- lexical-binding: t -*-
  2. ;;; Commentary:
  3. ;;; Code:
  4. (use-feature tramp
  5. :defer 5
  6. :config
  7. (add-to-list 'tramp-remote-path "/run/current-system/sw/bin")
  8. :custom
  9. (tramp-default-method "ssh")
  10. (tramp-terminal-type "tramp")
  11. (vc-ignore-dir-regexp
  12. (format "\\(%s\\)\\|\\(%s\\)"
  13. vc-ignore-dir-regexp
  14. tramp-file-name-regexp))
  15. (tramp-auto-save-directory (expand-file-name "tramp-auto-save" user-emacs-directory))
  16. (tramp-persistency-file-name (expand-file-name "tramp-connection-history" user-emacs-directory))
  17. (password-cache-expiry nil))
  18. (provide 'init-tramp)
  19. ;;; init-tramp.el ends here