about summary refs log blame commit diff stats
path: root/.emacs.d/lisp/init-tramp.el
blob: 088d68aead4c4d04a3ff4488a4bfd4ad5339cf49 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                                                         
                  
          

                                                               

                              
                               



                                   





                                                                                                  
;;; init-tramp.el --- Tramp Configuration File -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:

(use-feature tramp
  :defer 5
  :config
  (add-to-list 'tramp-remote-path "/run/current-system/sw/bin")
  :custom
  (tramp-default-method "ssh")
  (tramp-terminal-type "tramp")
  (vc-ignore-dir-regexp
   (format "\\(%s\\)\\|\\(%s\\)"
           vc-ignore-dir-regexp
           tramp-file-name-regexp))
  (tramp-auto-save-directory (expand-file-name "tramp-auto-save" user-emacs-directory))
  (tramp-persistency-file-name (expand-file-name "tramp-connection-history" user-emacs-directory))
  (password-cache-expiry nil))

(provide 'init-tramp)
;;; init-tramp.el ends here